log4j rename error.

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
jurekf
Posts: 69
Joined: 08 Dec 2010, 23:46

log4j rename error.

Post by jurekf »

Hi,

Here's a new error we've just seen recently in our logs:

log4j:ERROR Failed to rename [logs/smartfox.log] to [logs/smartfox.log.2011-07-12-12].
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Post by rjgtav »

hi. It looks like a permissions problem. Is sfs2x installed under Windows\Program Files? If yes, could you try installing it in another folder? Dont forget to backup the zone configs and java extensions.

[EDIT]
After googling for a while, it looks like this error happens when the file log4j will rename (in this case smartfox.log) is already being used by another program. So, this doesn.t look like a permissions problem. Do you have any program that is using that file at the moment of rename?
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
jurekf
Posts: 69
Joined: 08 Dec 2010, 23:46

Post by jurekf »

No idea. It's possible, but I rarely check logs when I'm running in console mode.
Post Reply