Security Log Help Info

Home Forums BulletProof Security Pro Security Log Help Info

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #43211
    dianekemper
    Participant

    Thanks. I’ll try those steps.

     

    #45715
    Jaiji
    Participant

    Hi, I’m using BPS free. I’ve found a number of my sites (all of which use BPS) have not been emailing log files, instead just storing them on the server in Uploads. In one case this had been happening for years and was taking up a fair chunk of disk space, I hadn’t noticed I was not receiving log emails from these sites as I get quite a few (from 70+ sites) every day which I keep for a month or so. Everything appears to be set up correctly on these sites. The one I’m looking a today is hosted on Siteground. I’ve searched the forum but can’t see anything relating to this apart from the post above in this thread from Living Miracles, who appears to be using BPS Pro (firewall etc.).  What do I need to do?

    #45717
    AITpro Admin
    Keymaster

    Log files are zipped and emailed using WP Cron jobs. Are WP Crons disabled on these websites? You can check that on the BPS System Info page > DISABLE_WP_CRON constant: Standard WP Crons are not disabled on your website. If you are disabling WP Cron, then BPS works with Direct crons setup in cPanel. The correct time interval for Direct crons is – run once per  minute.

    #45718
    Jaiji
    Participant

    The site I’ve been looking at today has WP Cron jobs enabled: ‘DISABLE_WP_CRON constant: Standard WP Crons are not disabled on your website.’

    The hosting is with Siteground (not cPanel), there are no server cron jobs set up either. I can’t examine the WP installation to see if WP Cron jobs were set to have been disabled as Siteground offer limited installation management functions for existing WP installations, but from the Status page it doesn’t seem like they are.

    #45719
    AITpro Admin
    Keymaster

    Just noticed this – “storing them on the server in Uploads”. BPS log files are stored here /wp-content/bps-backup/logs. Not sure why you are seeing log files in the uploads folder. Maybe there is a problem with the zip files not being successfully attached to emails, which would leave the zip files in the logs folder or maybe the /wp-content/uploads folder if your mail server moves the zip files there before trying to attach them to emails.

    It is not really necessary to zip and email log files to yourself. So you can just choose to delete log files instead of having them zipped and emailed to you. Go to the Alerts|Logs|Email Options menu > Alerts|Logs|Email Options page > change the Security Log, DB Backup Log and MScan Log email options to > Delete Log File

    #45720
    Jaiji
    Participant

    Sorry, that was my error, they were of course where you say they should be. (I’m juggling a dozen things here and was writing in haste.) I realise I can opt to no have logs emailed, I just prefer to keep a month or two’s worth locally for reference in case anything bad happens on a given site.

    #45721
    AITpro Admin
    Keymaster

    For the email address to “Send Email Alerts & Log Files To:” and the “Send Email Alerts & Log Files From:” are you using a google email address or routing emails through google gmail? Google gmail does not allow zip files in emails. If that is not the problem then the only other thing I can think to try would be to delete all old zip files in the /wp-content/bps-backup/logs folder and then see if new zipped log files are being attached and sent. If that still is not working then you may need to install a WordPress SMTP mail plugin to handle emails. There could be a problem with PHPmailer on your host server.

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.