Tommi Mäkitalo <tommi@...> writes:
> Hello,
> 
> these days I reimplemented the configuration of cxxtools logging using 
> the serialization framework, so that the configuration is now read from 
> a xml file instead of a properties file.
> 
> I did that already with tntnet and now I integrated both parts, so that 
> there is a single tntnet.xml, which configures tntnet as well as 
> logging. No separate tntnet.conf and tntnet.properties are needed any more.

What about logging levels?
I've used them to get INFO messages from some modules and skip them from others.
Now I no longer see the INFO messages in the logs.

Also, it feels as if giving the same file to accessLog and errorLog is not
supported. When I do this:
  <accessLog>/var/log/tntnet/tntnet.log</accessLog>
  <errorLog>/var/log/tntnet/tntnet.log</errorLog>
I get an empty /var/log/tntnet/tntnet.log without messages.

Also, why the log files are reset (size becomes 0 when tntnet starts)? Shouldn't
they be append-only and logrotated?


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to