
asadmin Utility Subcommands                display-log-records(1)

NAME
     display-log-records - displays all the error messages for  a
     given module at a given timestamp

SYNOPSIS
     display-log-records
     [--help]
      --errorlevel {SEVERE|WARNING}   --timestamp  timestamp [--target target] {module-id  [ module-id]*}

DESCRIPTION
     This command displays all the error  messages  for  a  given
     module at a given timestamp. This command can run remotely.

OPTIONS
     --help

         Displays the help text for the subcommand.

     --target
         This is the name of the target upon which the command is
         operating.  The  valid  targets  for  this  command  are
         instance and cluster. The default is instance.

     --errorlevel

         Allowed values are SEVERE and WARNING.

     --timestamp
         The time specified at which  the  error  logs  are  gen-
         erated.

OPERANDS
     module-id

         Module for which the error logs are to be displayed.

EXAMPLES
     Example 1 Using display-log-records

     Before  using  the  display-log-records  command,  use   the
     display-error-statistics  and the display-error-distribution
     command to get the timestamp and module identity, which  are
     required operands for the  display-log-records command.

       asadmin> display-error-statistics

Java EE 6           Last change: 24 Jul 2007                    1

asadmin Utility Subcommands                display-log-records(1)

       Timestamp                               Severity  Warning
       ---------------------------------------------------------
       1185340505312(Jul 25, 2007 10:45:05 AM)     1        20
       1185336905312(Jul 25, 2007 9:45:05 AM)      0        0
       1185333305312(Jul 25, 2007 8:45:05 AM)      0        0
       1185329705312(Jul 25, 2007 7:45:05 AM)      0        0
       1185326105312(Jul 25, 2007 6:45:05 AM)      0        0
       ---------------------------------------------------------
       Command display-error-statistics executed successfully.

       asadmin> display-error-distribution 1185340505312
       *****************************************************************
       Severity Warning   moduleID
       --------------------------
        1          2       javax.enterprise.system.container.web
        0         18     javax.enterprise.system.tools.admin.server.mbeans
       ...
       *****************************************************************
       Command display-error-distribution executed successfully.

       asadmin> display-log-records --passwordfile
       passwords --user admin --target server --host localhost --timestamp 1185340505312
       --port 4848 javax.enterprise.system.container.web

       ----------------------------------------------------------------------
       RecNumber = 5849
       dateTime = Wed Jul 25 10:45:05 AM PST 2007
       msgId = WEB0335
       level = WARNING
       productName = sun-appserver-9.1
       logger = javax.enterprise.system.container.web
       nvp = _ThreadID=10;_ThreadName=main;_RequestID=a4a52e69-ed14-4d0c-ada7-4fe07382c158;
       message =  http-listener attribute family not supported
       ----------------------------------------------------------------------
       RecNumber = 5848
       dateTime = Wed Jul 25 10:45:05 AM PST 2007
       msgId = WEB0334
       level = WARNING
       productName = sun-appserver-9.1
       logger = javax.enterprise.system.container.web
       nvp = _ThreadID=10;_ThreadName=main;_RequestID=a4a52e69-ed14-4d0c-ada7-4fe07382c158;
       message =  http-file-cache attribute hash-init-size not supported
       ----------------------------------------------------------------------
       Command display-log-records executed successfully.

Java EE 6           Last change: 24 Jul 2007                    2

asadmin Utility Subcommands                display-log-records(1)

EXIT STATUS
     0                           command executed successfully

     1                           error in executing the command

SEE ALSO
     display-error-distribution(1)

     , display-error-statistics(1)

Java EE 6           Last change: 24 Jul 2007                    3

