Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
* [Galene] enable debug log
@ 2021-01-03 16:27 Michael Ströder
  2021-01-03 17:00 ` [Galene] " Juliusz Chroboczek
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Ströder @ 2021-01-03 16:27 UTC (permalink / raw)
  To: galene

HI!

Still I'm not really familiar with go stuff but I'm trying to test git
master.

Running into an issue I'd like to see whether my own setup is correct,
typically by examining log output.

I see some log.Printf() calls in the code. But how to enable the message
output?

Ciao, Michael.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Galene] Re: enable debug log
  2021-01-03 16:27 [Galene] enable debug log Michael Ströder
@ 2021-01-03 17:00 ` Juliusz Chroboczek
  2021-01-03 17:41   ` Michael Ströder
  0 siblings, 1 reply; 5+ messages in thread
From: Juliusz Chroboczek @ 2021-01-03 17:00 UTC (permalink / raw)
  To: Michael Ströder; +Cc: galene

> I see some log.Printf() calls in the code. But how to enable the message
> output?

It goes to standard output.  If you're running Galène from the terminal,
it will appear on the terminal.  If you're using runit, you'll find the
output in the named pipe called "log".  If you're running systemd, you
should be able to use journalctl to get at the lock which is stored in
some mysterious place.

-- Juliusz

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Galene] Re: enable debug log
  2021-01-03 17:00 ` [Galene] " Juliusz Chroboczek
@ 2021-01-03 17:41   ` Michael Ströder
  2021-01-03 18:03     ` Juliusz Chroboczek
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Ströder @ 2021-01-03 17:41 UTC (permalink / raw)
  To: galene

On 1/3/21 6:00 PM, Juliusz Chroboczek wrote:
>> I see some log.Printf() calls in the code. But how to enable the message
>> output?
> 
> It goes to standard output.  If you're running Galène from the terminal,
> it will appear on the terminal.

Do I have to set a log level somewhere?

There is no output at all when starting like this (even as root):

/usr/sbin/galene -http 0.0.0.0:8444 -data /etc/galene -groups
/var/lib/galene/groups -static /usr/share/galene/static -recordings
/var/lib/galene/recordings

But the server runs and answers requests.

Ciao, Michael.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Galene] Re: enable debug log
  2021-01-03 17:41   ` Michael Ströder
@ 2021-01-03 18:03     ` Juliusz Chroboczek
  2021-01-03 18:30       ` Michael Ströder
  0 siblings, 1 reply; 5+ messages in thread
From: Juliusz Chroboczek @ 2021-01-03 18:03 UTC (permalink / raw)
  To: Michael Ströder; +Cc: galene

>> It goes to standard output.  If you're running Galène from the terminal,
>> it will appear on the terminal.

> Do I have to set a log level somewhere?

No.  We unconditionally log errors, and we don't log anything else.

You'll find some anonymised statistics under /stats.

-- Juliusz

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Galene] Re: enable debug log
  2021-01-03 18:03     ` Juliusz Chroboczek
@ 2021-01-03 18:30       ` Michael Ströder
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Ströder @ 2021-01-03 18:30 UTC (permalink / raw)
  To: galene

On 1/3/21 7:03 PM, Juliusz Chroboczek wrote:
>>> It goes to standard output.  If you're running Galène from the terminal,
>>> it will appear on the terminal.
> 
>> Do I have to set a log level somewhere?
> 
> No.  We unconditionally log errors, and we don't log anything else.

It seems my expectation was wrong. It logs only very rarely. ;-)

It would be nice to see start and stop messages sent to log output. With
my own demons I usually log name and version which is pretty useful to
check whether updates were applied.

Just my 2 cent.

Ciao, Michael.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-03 18:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 16:27 [Galene] enable debug log Michael Ströder
2021-01-03 17:00 ` [Galene] " Juliusz Chroboczek
2021-01-03 17:41   ` Michael Ströder
2021-01-03 18:03     ` Juliusz Chroboczek
2021-01-03 18:30       ` Michael Ströder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox