log4j > 1.2.15

Post here your suggestions for new possible features in SmartFoxServer 2X.

Moderators: Lapo, Bax

User avatar
moose
Posts: 3
Joined: 09 Nov 2012, 13:05
Location: Nuremberg
Contact:

log4j > 1.2.15

Postby moose » 15 Feb 2013, 11:41

are there already plans to use a newer version of the log4j framework beyond the currently used 1.2.15? Maybe once log4j 2.x is out of the beta stage?

I'm flirting with the idea to use the RollingFileAppender (log4j extras companion) to compress / discard older versions of the logfiles (without using logrotate or some additional shell scripts), but afaik this would require at least version 1.2.16 to configure it via the log4j.properties.
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: log4j > 1.2.15

Postby Lapo » 03 Apr 2013, 09:46

No plans for now but we'll follow the developments.
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
kami8707
Posts: 11
Joined: 20 Jan 2011, 01:31

Re: log4j > 1.2.15

Postby kami8707 » 14 Aug 2014, 19:08

Hi, log4j2 with async feature is good for smartfox2x performance, are you have plan upgrade it?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: log4j > 1.2.15

Postby Lapo » 16 Aug 2014, 11:59

Hi,
all the logging is based on SLF4J and then we use Log4J as the preferred/default implementation. I believe SLF4J also supports Log4J 2 so I think you could easily switch to that implementation.

If you do so let us know if it's working well for you. We'll take a look at it for one of the next releases.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “2X Features Wish List”

Who is online

Users browsing this forum: No registered users and 20 guests