1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how do i disable apache and mysql logs?

Discussion in 'Site & Server Administration' started by justsomepoordude, Aug 15, 2006.

  1. #1
    see title:)
     
    justsomepoordude, Aug 15, 2006 IP
  2. DrMalloc

    DrMalloc Peon

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    do you have root access to the server?
     
    DrMalloc, Aug 15, 2006 IP
  3. justsomepoordude

    justsomepoordude Peon

    Messages:
    224
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes i have root access
     
    justsomepoordude, Aug 15, 2006 IP
  4. DrMalloc

    DrMalloc Peon

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    For Apache, the httpd.conf should contain a CustomLog directive (for access logs) and an ErrorLog directive (for error logs). Commenting both of those lines out should disable logging.
     
    DrMalloc, Aug 15, 2006 IP
  5. justsomepoordude

    justsomepoordude Peon

    Messages:
    224
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Do I comment out this line?
    CustomLog /usr/local/apache/logs/access_log common
     
    justsomepoordude, Aug 15, 2006 IP