LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2005, 05:37 AM   #1
lennard
LQ Newbie
 
Registered: May 2003
Location: Netherlands
Posts: 8

Rep: Reputation: 0
Question Postfix disable logging?


Hey all,

I have a succesfull postfix setup running, with spamfiltering, antivirus and mysql-user authentication (and mysql-post delivery).

HOWEVER

My /var/log/debug-file is being 'spammed' with the following:

<date><server> postfix/smtpd[30066]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[30081]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[32128]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[32144]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[580]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[596]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[2100]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[2114]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[2756]: sql auxprop plugin using mysql engine
<date><server> postfix/smtpd[2772]: sql auxprop plugin using mysql engine


I haven't any debugging-tags switched on (that I am aware of). Does anyone have any idea how to get rid of these debugging lines? (yes I know they are harmless.....)


Thanks!!
Lennard
 
Old 09-30-2005, 11:22 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
A general solution to this is to replace syslogd/klogd with syslog-ng, which has the ability to filter logs based on facility, priority, program, and message. For example, I get several megabytes' worth of failed ssh attempts into my server per week. To manage the clutter, I filter out all messages produced by sshd which do not contain the regexp "Accept" to a separate log file /var/log/ssh.failed.
 
Old 10-01-2005, 10:31 AM   #3
lennard
LQ Newbie
 
Registered: May 2003
Location: Netherlands
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks :)

Thanks,

I already thought of something like this.

I could just filter out Debug mail messages. I however, just want Postfix (or whatever subsystem provides this warning) not to send the Debug messages at all.


Cheers!!
Lennard
 
Old 12-08-2010, 10:00 AM   #4
Dadko
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
sql_verbose

I discovered, that the whole problem is in cyrus-sasl-2.1.23 and sql.c in plugins directory. Someone removed support for sql_verbose option from it, and because of it is still verbose and can't be turned off. I made a patch for adding sql_verbose option back to sql.c
Attached Files
File Type: txt cyrus-sasl-2.1.23-sql-verbose-fix.patch.txt (4.9 KB, 46 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable console logging (Debian Sarge) retiem Linux - Networking 8 06-14-2013 06:23 AM
Disable logging RH 7.3 qmail-apache etc DropHit Red Hat 3 04-13-2005 04:44 AM
Disable all Apache 2.x logging hakcenter Linux - Networking 2 12-05-2003 12:34 AM
how to disable sendmail and enable postfix? JM_Fraser Linux - Software 6 11-28-2003 07:15 AM
disable logging rsbecker007 Linux From Scratch 2 04-09-2002 09:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration