opensubscriber
   Find in this group all groups
 
Unknown more information…

l : log4j-dev@logging.apache.org 24 August 2009 • 10:25AM -0400

DO NOT REPLY [Bug 47684] FileAppender.setEncoding() doesn't works
by bugzilla

REPLY TO AUTHOR
 
REPLY TO GROUP




https://issues.apache.org/bugzilla/show_bug.cgi?id=47684


Curt Arnold <carnold@apac...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO


--- Comment #1 from Curt Arnold <carnold@apac...> 2009-08-23 19:25:35 PDT ---
You did not include your original code that you thought was misbehaving.  I'm
guessing that you programatically constructed a RollingFileAppender, then
called setEncoding() but likely did not call activateOptions.   A call to
activateOptions() is required after changing any property or set of properties
to make it effective.  Appender constructors that take multiple arguments
typically invoke activateOptions as part of the constructor.  Configurators or
other code that use the default constructors will construct an appender (or
layout, etc), set properties, and then call activateOptions() to complete the
configuration.

Marking the bug as NEEDINFO for more information.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logg...
For additional commands, e-mail: log4j-dev-help@logg...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.