bugzilla | 2 May 10:16 2008
Picon

DO NOT REPLY [Bug 44867] DailyRollingFileAppender: log4j: inconsistency in generating logs

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

wesley too <wesleywj2 <at> yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED

--- Comment #2 from wesley too <wesleywj2 <at> yahoo.co.uk>  2008-05-02 01:16:07 PST ---
hi there,

i've looked through and seems that this issue same as mine. I would like to
submit my information regarding this for your workings. As preload information,
i'm using  1 apache load balance 2 tomcat; but both pointing to one web
application reside in other directory. Thus, the log4j.properties only reside
in that webapp's WEB-INF/classes directory. 

These settings somehow came up identical to what Sachin elaborated. the file
rolls to the next hour, data seems to be logged to the previous hour at times.

based on your comment is this scenario created multiple log4j instances writing
to the same file? is there any work around for the architecture described
above? i hope i can give you as much info as possible for you to identify this
problems.

--

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

bugzilla | 4 May 20:22 2008
Picon

DO NOT REPLY [Bug 43867] NOPLoggerRepository error during shutdown

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

--- Comment #13 from Aaron Digulla <digulla <at> hepe.com>  2008-05-04 11:22:50 PST ---
Re #12: As a rule of thumb, here are a few tips what you should look for:

1. Threads which aren't completed when your webapp is stopped. I'm talking
about threads you (or libraries which you use) start. Do you use a timer,
quartz or something like that?

2. Find out why the code which throws the error thinks it has to run after your
webapp has been removed or reloaded.

--

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

Bug report for Log4j [2008/05/04]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting  |
|17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads  |
|20395|New|Enh|2003-06-01|PreparedStatementAppender Enhancement             |
|22894|Opn|Nor|2003-09-02|Single backslash not accepted in File param value |
|22934|Opn|Nor|2003-09-04|org.apache.log4j.jmx is not compatible with JMX 1.|
|23329|Ass|Maj|2003-09-22|<logger> element in XML config should support reso|
|25355|New|Enh|2003-12-09|allow to require "TLS/SSL only" for outgoing mails|
|25747|New|Enh|2003-12-24|more explanations when hitting "WARN No appenders |
|26084|New|Nor|2004-01-13|Log Event detail panel does not show special chara|
|27363|New|Enh|2004-03-02|JNI based SyslogAppender                          |
|27367|New|Enh|2004-03-02|NetSendAppender                                   |
|28647|Ass|Enh|2004-04-28|Add "Flush on Level" capability to FileAppender   |
|29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM|
|29304|New|Nor|2004-05-30|Starting XMLSocketAppender from config file       |
|29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe|
|29735|New|Nor|2004-06-22|Receiver list display error  when receiver has no |
|30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n|
(Continue reading)

bugzilla | 5 May 16:23 2008
Picon

DO NOT REPLY [Bug 44932] New: improve DailyRollingFileAppender handling of rotation errors

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

           Summary: improve DailyRollingFileAppender handling of rotation
                    errors
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: hmak <at> vaultus.com

Request to improve DailyRollingFileAppender handling of errors during log
rotation.  If an error occur,

        P1.     Old logs [to archive] can be lost.  Can occur if
scheduled-file=name [to archive to] cannot be deleted during rotation

        P2.     It can end up infinite looping if ErrorHandler itself uses
DailyRollingFileAppender

To address above issues, I'm currently use customized version of
DailyRollingFileAppender with the following changes:

        C1.     If cannot delete scheduled-file-name, then continue appending
to existing file (i.e., don't rotate)

(Continue reading)

bugzilla | 5 May 16:44 2008
Picon

DO NOT REPLY [Bug 44934] New: add helper method to DailyRollingFileAppender to generate schedule file name

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

           Summary: add helper method to DailyRollingFileAppender to
                    generate schedule file name
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: hmak <at> vaultus.com

Request to add helper method to DailyRollingFileAppender to generate schedule
file name.  That way, subclasses can determine the names of the files that the
appender will archive to.  i.e.,

Change Log4j v1.2.15 from

        void rollOver() throws IOException {
                ...
                String datedFilename = fileName+sdf.format(now);
                ...
        }

to

        void rollOver() throws IOException {
(Continue reading)

bugzilla | 6 May 23:21 2008
Picon

DO NOT REPLY [Bug 44945] New: SyslogAppender not working

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

           Summary: SyslogAppender not working
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: smendenh <at> redhat.com

I've tried with the latest 1.2.14 and 1.2.15 and the SyslogAppender does not
appear to be working in either one.

/etc/syslog.conf contains LOCAL7.* /var/log/jboss.log

Java code:
[code]
public class Test {

        static Logger logger = Logger.getLogger(Test.class);

        public static void main(String[] args) {

                PatternLayout pattern = new PatternLayout();
                pattern.setConversionPattern("[%d{ABSOLUTE},%c{1}] %m%n");

(Continue reading)

bugzilla | 6 May 23:22 2008
Picon

DO NOT REPLY [Bug 44945] SyslogAppender not working

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

Samuel Mendenhall <smendenh <at> redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smendenh <at> redhat.com

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 7 May 09:01 2008
Picon

DO NOT REPLY [Bug 44945] SyslogAppender not working

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

Curt Arnold <carnold <at> apache.org> changed:

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

--- Comment #1 from Curt Arnold <carnold <at> apache.org>  2008-05-07 00:01:17 PST ---
Most likely you have not configured your syslogd to accept network connections. 

The log4j SyslogAppender is pure Java code so it performs a "network" log even
if logging to local host.  There is an existing enhancement (bug 27363) request
for a native SyslogAppender.  Unless there is something else going on, this
should be marked as a duplicate of that bug.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 7 May 09:29 2008
Picon

DO NOT REPLY [Bug 44839] SyslogAppender logging to a UNIX domain socket

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

Curt Arnold <carnold <at> apache.org> changed:

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

--- Comment #1 from Curt Arnold <carnold <at> apache.org>  2008-05-07 00:29:40 PST ---
/dev/log is a Unix Domain Socket and I would think there would not be a means
to reliably write to it in pure Java code.  Can you get away with writing to it
with file IO?  If so, if you could provide a reference or docs?

If not, then this is just a duplicate of the request for a native
SyslogAppender (bug 27363).

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 7 May 21:56 2008
Picon

DO NOT REPLY [Bug 44945] SyslogAppender not working

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

Samuel Mendenhall <smendenh <at> redhat.com> changed:

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

--- Comment #2 from Samuel Mendenhall <smendenh <at> redhat.com>  2008-05-07 12:56:16 PST ---
I haven't changed anything in syslog from the default installation.  From all
indications and wikis/knowledgebases on the net I was not aware there was
anything necessary to do with syslog beyond adding the facility and location to
log to.  I just tested again and it is a no go, can you verify it does in fact
work ?

--

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

Gmane