FG
💻 Software

How to change log level in /var/log/messages?

Fresh5 days ago
Mar 15, 202654459 views
Confidence Score0%
0%

Problem

I'm running SUSE Linux Enterprise Server 10, SP2 (SLES10 SP2), and am seeing a large number of what support calls cosmetic errors being logged to /var/log/messages. Does anyone know of a way to change the log level in the /var/log/messages file?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to change log level in /var/log/messages?

Low Risk

Sure, edit (or depending on distro). There's a line remove *.=notice or *.=info or tweak it as you want. will give you all the options you can use. Don't forget to restart syslog daemon for changes to take effect.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment