Fu*king LOGS...

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Berkas
Posts: 94
Joined: Sat Dec 14, 2013 9:23 am

Fu*king LOGS...

Post by Berkas »

Hello L2JServer community.
Please, help to me...
How remove all fucking .log and leave only java, gmaudit & error .log?
Because it will create all .log item, accounting and it creating not 1 file but about 20 with same name, but different number, example: accounting01.log

Here is my log.cfg - http://pastebin.com/kCFY7cEN (as you can see i make true only java, gmaudit & error .log)

Thanks for any help...

P.S. Maybe remove all unused log .java files example: ItemLogFormatter.java & remove everything with ItemLog in log.cfg?
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Fu*king LOGS...

Post by UnAfraid »

log/error%g.log
remove "%g"
same for other like java%g.java
Image
Berkas
Posts: 94
Joined: Sat Dec 14, 2013 9:23 am

Re: Fu*king LOGS...

Post by Berkas »

UnAfraid wrote:log/error%g.log
remove "%g"
same for other like java%g.java

Code: Select all

# default file output is in user's home directory.java.util.logging.FileHandler.pattern = log/java.logjava.util.logging.FileHandler.count = 0java.util.logging.FileHandler.limit = 0java.util.logging.FileHandler.formatter = com.l2jserver.log.formatter.FileLogFormatterjava.util.logging.FileHandler.level = CONFIG # log errors (exceptions)com.l2jserver.log.handler.ErrorLogHandler.pattern = log/error.logcom.l2jserver.log.handler.ErrorLogHandler.count = 0com.l2jserver.log.handler.ErrorLogHandler.limit = 0com.l2jserver.log.handler.ErrorLogHandler.formatter = java.util.logging.SimpleFormattercom.l2jserver.log.handler.ErrorLogHandler.filter = com.l2jserver.log.filter.ErrorFiltercom.l2jserver.log.handler.ErrorLogHandler.level = CONFIG
Result: java.log.1, java.log.2 and same with errors and every new launch new .log :)

I want this:
1 java.log everytime i will launch gameserver it will make new java.log if exists rewrites like stdout.log
1 error.log if error occurs it will make new one, if not it will rewrite.
Post Reply