logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47684] FileAppender.setEncoding() doesn't works
Date Mon, 24 Aug 2009 02:25:37 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47684


Curt Arnold <carnold@apache.org> changed:

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


--- Comment #1 from Curt Arnold <carnold@apache.org> 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@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message