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?
Fu*king LOGS...
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
-
- Posts: 94
- Joined: Sat Dec 14, 2013 9:23 am
Re: Fu*king LOGS...
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

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.