LineFeeds in .log.txt

Hi,

Only a very little issue, but would be nice if it could be fixed:

In the logfile that Servoy creates, there are no returns/linefeeds between the messages, making the logfile very difficult to read. Could these linefeeds be added?

Paul

PS: This at least happens in WinXP

yes, that would be nice. There seems to be some sort of line feed, though. If you look at the console, it looks ok.

I opened the logfile with different texteditors, but as far as I can see, there are no linefeeds in the logfile.

To my knowledge, the logfile is not a copy of the console. If they are equal, then the same message is printed both to the console and to the logfile.

Paul

I checked the ones in /server/logs/ .
I opened them with BBEdit and it tells me it uses DOS linefeeds on Windows XP.
UNIX linefeeds on Mac OS X.

Or are you talking about some other log?

Yes, I’m talking about the “.log.txt” logfile in the servoy root directory

Paul

Yes, I’m talking about the “.log.txt” logfile in the servoy root directory

Paul

I guess I never had those logs.
If you have a Mac with BBEdit you can check what linefeeds it uses.
If not you may email me one logfile and I can check for you if you like.
(see email button under this message)

Send you my logfile.

But, since I opened the file myslef in different editors, I’m pretty sure there aren’t any linefeeds in it :D

Paul

Correct. No linefeeds whatsoever.
Not any invisible characters either.

Looks like a bug. (more like a big oops ;) )

Hi, just to make sure: Has this topic been noticed and picked up by the Servoy team?

The missing linefeed in the .log.txt makes it very difficult to read (and thus debug) errors, based on the .log.txt, especially in the STACKTRACE mode, where a lot of data is written into the logfile.

Would really appreciate a fix here…

Tnx in advance,

Paul

Could this please be fixed?!?!

Paul

The log file is standarized on Unix newline, so to be able to read the log, use a proper editor able to read normal unix files. (only MS notepad fails to read the file correctly AFAIK)

I’ve loaded the logfile into many different editors (NotePad, WordPad, UltraEdit, TextPad), also editors that read Unix files properly, but there’s just no linefeed caracter what so ever…

Paul

Well this is strange, no linefeed at all? could you sent an example .log.txt file?

Will do