WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

IBM Http Server logging level

  • 1.  IBM Http Server logging level

    Posted Mon October 03, 2016 04:01 AM

    Hi All,

    Is there any way to change IBM http server logging level

     

    I mean to say is IBM http server has two logs error.log access.log so i want to debug the issues from these logs i have options to change logging level

    for these logs.

    kalyan.



  • 2.  RE: IBM Http Server logging level

    Posted Wed October 05, 2016 06:05 AM

    IHS Log levels

    LogLevel directive

     

    Description
    Adjusts the verbosity of the messages recorded in the error logs. When a particular level is specified, messages from all other levels of higher significance are reported as well. For example, when LogLevel info is specified, messages with log levels of notice and warn are also reported. We recommend specifying level crit, at least.
    Scope
    server config, virtual host
    Values
    The following levels are available, in order of decreasing significance:

     

    Level Description ExampleemergEmergencies - system is unusable. "Child cannot open lock file. Exiting" alertAction must be taken immediately. "getpwuid: couldn't determine user name from uid" critCritical Conditions. "socket: Failed to get a socket, exiting child" errorError conditions. "Premature end of script headers" warnWarning conditions. "child process 1234 did not exit, sending another SIGHUP" noticeNormal but significant condition. "httpd: caught SIGBUS, attempting to dump core in ..." infoInformational. "Server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers)..." debugDebug-level messages "Opening config file ..."
    Usage
    LogLevel level
    Notes
    If nothing is specified, LogLevel error is the default.

     

    All you need to know about IHS logging --> http://www-01.ibm.com/support/docview.wss?uid=swg27039505&aid=1



  • 3.  RE: IBM Http Server logging level

    Posted Thu October 06, 2016 01:24 AM

    Don't forget the plugin logs.. particularly around space usage :-)