EmuNewz Network
Switch from HTML log file to TXT log file - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: Switch from HTML log file to TXT log file (/showthread.php?tid=88001)

Pages: 1 2


Switch from HTML log file to TXT log file - gid15 - 10-16-2012

Hi Beta-Testers,

as you know, Jpcsp is currently producing a log file in HTML format (log.html). This format is not very easy for me to handle for large log files. I would like to switch to a TXT format (for Notepad or Notepad++): log.txt. This would then be much easier for me to search or filter these files.
Has anyone objections on this change?

Also, I could completely disable the console logging which is very slow. Does anyone use it? I just need the generated log file...

These changes would only be changes in the default LogSettings.xml file. You are still free to customize it for your needs (or when I ask for additional debug log).


RE: Switch from HTML log file to TXT log file - hyakki - 10-16-2012

its ok with me, I thought you liked html that's why I always used it, but yea I also like the txt files much more easy to read and smaller to handle, as for console do you mean the java console or the logger window?
(I kinda like the logger window so I can visually see what its doing :p, but i can understand this can cause a speedhit on slower computers)


RE: Switch from HTML log file to TXT log file - gid15 - 10-16-2012

(10-16-2012, 08:58 AM)hyakki Wrote: its ok with me, I thought you liked html that's why I always used it, but yea I also like the txt files much more easy to read and smaller to handle, as for console do you mean the java console or the logger window?
(I kinda like the logger window so I can visually see what its doing :p, but i can understand this can cause a speedhit on slower computers)
I meant the logger window. OK, I will keep its output enabled.


RE: Switch from HTML log file to TXT log file - BlackDaemon - 10-16-2012

IMO, removing logger window isn't good idea. Wink


RE: Switch from HTML log file to TXT log file - serio - 10-16-2012

should be an option though. logging on debug/trace/all level makes pretty much any game i try them with hang, since the speed goes below 1 fps.


RE: Switch from HTML log file to TXT log file - Zekro - 10-16-2012

It's better with txt files,in fact I think no one will object.Do as you like since you're the dev Big Grin


RE: Switch from HTML log file to TXT log file - montcer9012 - 10-16-2012

Agree with the motion. Also, like @serio said, will be better like an option.


RE: Switch from HTML log file to TXT log file - hyakki - 10-17-2012

(10-16-2012, 11:49 AM)serio Wrote: should be an option though. logging on debug/trace/all level makes pretty much any game i try them with hang, since the speed goes below 1 fps.

(10-16-2012, 10:19 PM)montcer9012 Wrote: Agree with the motion. Also, like @serio said, will be better like an option.


Technically there already is an option (for both)
Settings.properties
gui.openLogwindow= 1/0 shows / hides the logger window on start

for text file logging its found under Debug - Tools - logger - Customize - Settings "Output log results to text file "
or in LogSettings.xml change under the root section HtmlAppender to <appender-ref ref='TxtAppender' />
:p


RE: Switch from HTML log file to TXT log file - serio - 10-17-2012

i meant the part about displaying text in the logger window when it's logging, especially the higher levels like debug or trace. when it's on, it freezes jpcsp for me.

unless of course the text output or saving into file does that, then it probably won't help.


RE: Switch from HTML log file to TXT log file - montcer9012 - 10-17-2012

I meant the text on logger windows too; each time i saw there red words i freak out and start searching where it came from hahahaha. If the logger is working but not showing maybe the speed down will not be so dramatically.