Deleting logs

Discussion in 'ISPConfig 3 Priority Support' started by stevenlib, Sep 20, 2013.

  1. stevenlib

    stevenlib New Member

    Hi,

    Are the ISPConfig logs written in the database?
    I wonder as I did delete the /var/log/ispconfig/ispconfig.log but the still show up. I have hundreds of lines showing up in the interface (red screen).
    How do I reset it to clean after problems have been fixed?

    Regards,

    P.S; is there a way to restrict searches to ISPConfig forum, as the search option I see searches the whole howtoforge?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    execute this sql query with phpmyadmin in the dbispconfig database.

    update sys_log set loglevel = 0 WHERE loglevel > 0;

    it will set all log entry to debug loglevel.


    use the sarch function of the forum, it is in the forum nav bar.
     
  3. stevenlib

    stevenlib New Member

    Hi,

    Ok but they still show up, I have to delete them in the db I guess, do I?. I do change the log level from time to time, tried error, warn, debug BUT I still get the red screen.

    Will I alway have to keep a SQL console to do that?

    Regards,
     
  4. stevenlib

    stevenlib New Member

    Forget it i found it

    Hi,

    Ok, I just need to restart apache to see the results after the commit.

    Regards,
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    A apache restart is not nescessray. You just have to wait some time as the monitor status is not calculated every minute.
     

Share This Page