[liblouis-liblouisxml] Re: Unsure how to do a change to logging

  • From: "Michael Whapples" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "mwhapples@xxxxxxx" for DMARC)
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 22 May 2014 09:34:21 +0100

PS. The default is actually to write to STDERR.

Michael Whapples
On 22/05/2014 09:18, Mesar Hameed wrote:
Hi,

On Thu 22/05/14,08:51, Michael Whapples wrote:
So until lou_registerLogCallback is called, liblouis will be using
its own default logging callback, and liblouisutdml will be using
its own default logging callback (IE. there will be two different
logging callbacks in use in different places,). If these two default
callbacks try to write to one stream then we get the issue of
resource access.
Presumably the default logging functions will be outputting to
liblouis.log and liblouisutdml.log so the contension should not arrise.

Or have I overlooked something.

thanks,
Mesar

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: