On 13 Sep 2017, at 16:09, Stefan Paetow <[log in to unmask]> wrote:
> I've been digging around the Vala files for Moonshot UI trying to find how to turn logging on and how to expose this. From what I can see, Vala uses the Glib logger by default. Does anyone know where it logs its default messages to, and how to turn that on (so that I can get a trace of what it's doing)?
If it uses Glib for log output, you can control logging with some of the G_* environment variables:
https://developer.gnome.org/glib/stable/glib-running.html
I don't know it's possible to send the output to a file - as I recall it just goes straight to stderr.
Regards,
Adam Bishop
Senior Infrastructure and Systems Architect
gpg: E75B 1F92 6407 DFDF 9F1C BF10 C993 2504 6609 D460
t: +44 (0)1235 822 245
xmpp: [log in to unmask]
jisc.ac.uk
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
|