ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How to turn on apache error logging

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to turn on apache error logging

    Im trying to turn on apache error logging, but, no luck

    ErrorLog On

    How do I turn it on?

    Thank You

  • #2
    Re: How to turn on apache error logging

    It should be something like this:
    Code:
    ErrorLog /www/YOUR-INSTANCE/logs/error_log     
    LogMaint /www/YOUR-INSTANCE/logs/error_log 7 0
    The first log enables error logging, and specifies which file to log to. The second line tells Apache how long to keep the logs (it means delete them after 7 days. The second parameter, which is 0, is the maximum size allowed for the log. 0 means "unlimited")

    Full details can be found here (under 'ErrorLog', and 'LogMaint' topics, respectively):

    Comment


    • #3
      Re: How to turn on apache error logging

      Thanx Scott

      Comment


      • #4
        Re: How to turn on apache error logging

        Thanx Scott, it worked ....

        You da man ...

        Comment

        Working...
        X