James Mc Parlane <james at massive.com.au> wrote:
> > > freenet.log is always open which prevents me from viewing the logs in
> > > something like wordpad.
> > 
> > Wordpad? Don't you have like "cat" or something like that?   You don't
> > need to write to a file to look at the log...
> 
> Yep - all the lines run together.
> 
> The log as it stands looks like it uses 0x0A as the new line delimiter. If
> you use 0x0D 0x0A it will work under both unix, windows and mac systems.

this was my fault -- I wanted more control over the logger's line delimiter
so I could send its output to a network connection.  I've changed this so
by default it does a println(), which should do whatever the right thing is
for each system, but you can switch Logger.logStyle to BYTES and set
Logger.terminator to whatever constant string you want.

theo


_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to