Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 5.0
    • Component/s: logging
    • Labels:
      None
    • Environment:

      linux

      Description

      My servlet used the following source to print log.

      ServletContext sc = this.getServletContext();
      sc.log("This is a servlet context log method");
      

      the following message is printted in server.log,but there is a "null" in the log name.I think it is a bug .

      [2015-06-17T18:27:48.057+0900] [glassfish 4.1] [INFO] [] [javax.enterprise.web] [tid: _ThreadID=39 _ThreadName=http-listener-1(12)] [timeMillis: 1434533268057] [levelValue: 800] WebModule[null] ServletContext.log():This is a servlet context log method
      

        Issue Links

          Activity

          Hide
          mskdeepak added a comment -

          Container name appears in the log message after this commit.

          Sending appserver/web/web-core/src/main/java/org/apache/catalina/core/StandardContext.java
          Transmitting file data .
          Committed revision 64586.

          Show
          mskdeepak added a comment - Container name appears in the log message after this commit. Sending appserver/web/web-core/src/main/java/org/apache/catalina/core/StandardContext.java Transmitting file data . Committed revision 64586.

            People

            • Assignee:
              mskdeepak
              Reporter:
              lzg5039
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: