cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

/var/log/message file very big.

Jump to solution

Dear all,

I'm using McAfee web gateway 7.5.2.6. I have problem with it, /var/log/message file very big, It > 4GB.

1) What log is stored in the file? Please help me to explain about it.

2) I realize MWG will remove automatically /var/log/message file if the file > in 30 days. I want MWG will remove automatically it only in 2 days, not in 30 days. Please guide me to configCapture.PNG

. Please me this case.

Thanks,

DK.

1 Solution

Accepted Solutions
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 5

Re: /var/log/message file very big.

Jump to solution

Hey DK,

What does your logging rule look like?

The exclusion part of your config (daemon.!=info) will only work if your rule is set to level 6.

I'm guessing if you looked inside the file, you'd see access log data.

Check out this guide for more info:

Best Regards,

Jon

View solution in original post

4 Replies
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 5

Re: /var/log/message file very big.

Jump to solution

Hey DK,

What does your logging rule look like?

The exclusion part of your config (daemon.!=info) will only work if your rule is set to level 6.

I'm guessing if you looked inside the file, you'd see access log data.

Check out this guide for more info:

Best Regards,

Jon

View solution in original post

Re: /var/log/message file very big.

Jump to solution

Dear Jon scholten,

Thank you for your help.

I config level 3 in logging rule. So in syslog, how must I config to don't write to disk of MWG?

Thanks,

DK

Former Member
Not applicable
Report Inappropriate Content
Message 4 of 5

Re: /var/log/message file very big.

Jump to solution

Hi DK,

You can update the logging to use 6 (info), or update the rsyslog line to be daemon.!=error instead of daemon.!=info.

Best Regards,

Jon

Re: /var/log/message file very big.

Jump to solution

Hi jon,

Thank you very much! The log don't write to disk of MWG.

Thanks,

DK

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community