|
List Info
Thread: Setting the Debug level in Kolab2.1
|
|
| Setting the Debug level in Kolab2.1 |
  Germany |
2008-03-12 07:56:48 |
Hallo,
I am using the binary packages of kolab2.1. I want to reduce
the logging
for the imap service. I added to /kolab/etc/kolab/kolab.conf
the lines
like discribes in the operation manual:
log_level : 2
debug : 0
and restarted the kolabd. Even after that I get lots of
"debug" messages
in /kolab/var/imapd/log/imapd.log / master.log. Is this the
right way to
control the loglevel?
Greetinx
Volker
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: Setting the Debug level in Kolab2.1 |

|
2008-03-12 08:08:41 |
Volker Stoppe wrote:
> Hallo,
>
> I am using the binary packages of kolab2.1. I want to
reduce the logging
> for the imap service. I added to
/kolab/etc/kolab/kolab.conf the lines
> like discribes in the operation manual:
>
> log_level : 2
> debug : 0
>
> and restarted the kolabd. Even after that I get lots of
"debug" messages
> in /kolab/var/imapd/log/imapd.log / master.log. Is this
the right way to
> control the loglevel?
>
You want to edit the files
/kolab/etc/kolab/templates/imapd.conf.template
and/or cyrus.conf.template
Then run kolabconf, it will generate
/kolab/etc/imapd/imapd.conf and
cyrus.conf which is what cyrus uses.
Then restart cyrus /kolab/bin/openpkg rc cyrus restart
Tobias
--
*Tobias Oed* - Octant Informatique <http://www.octant-fr.com
>
contact | tobias.oed octant-fr.com <mailto:tobias.oed octant-fr.com> -
04 76 50 82 38
image
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: Setting the Debug level in Kolab2.1 |

|
2008-03-13 08:01:45 |
On Wed, Mar 12, 2008 at 2:08 PM, Tobias Oed
<tobias.oed octant-fr.com> wrote:
> Volker Stoppe wrote:
> > Hallo,
> >
> > I am using the binary packages of kolab2.1. I
want to reduce the logging
> > for the imap service. I added to
/kolab/etc/kolab/kolab.conf the lines
> > like discribes in the operation manual:
> >
> > log_level : 2
> > debug : 0
This is for something else, probably of all the kolab
specific
components like kolabd, kolabpolicy, kolabfilter ....
> >
> > and restarted the kolabd. Even after that I get
lots of "debug" messages
> > in /kolab/var/imapd/log/imapd.log / master.log.
Is this the right way to
> > control the loglevel?
> >
>
> You want to edit the files
/kolab/etc/kolab/templates/imapd.conf.template
> and/or cyrus.conf.template
This is not in imapd.conf either
> Then run kolabconf, it will generate
/kolab/etc/imapd/imapd.conf and
> cyrus.conf which is what cyrus uses.
> Then restart cyrus /kolab/bin/openpkg rc cyrus
restart
this is
/kolab/bin/openpkg rc imapd restart
instead
To answere the Volker question ... This is in
/kolab/etc/fsl/fsl.imapd,
replace the "debug:" into "info:", and
restart imapd (as above)
OR because you said you are using the "binaries"
(but witch binaries ?)
in /etc/syslog.conf replace something like
mail.*
-/var/log/maillog
into
mail.info
-/var/log/maillog
regards
>
> Tobias
>
> --
> *Tobias Oed* - Octant Informatique <http://www.octant-fr.com
>
> contact | tobias.oed octant-fr.com
<mailto:tobias.oed octant-fr.com> -
> 04 76 50 82 38
> image
>
>
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users kolab.org
> https:
//kolab.org/mailman/listinfo/kolab-users
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: Setting the Debug level in Kolab2.1 |
  Germany |
2008-03-13 18:59:13 |
Thanks Alain and Tobias for the replies!
Am 13.03.2008, 14:01 Uhr, schrieb Alain Spineux
<aspineux gmail.com>:
> On Wed, Mar 12, 2008 at 2:08 PM, Tobias Oed
<tobias.oed octant-fr.com>
> To answere the Volker question ... This is in
/kolab/etc/fsl/fsl.imapd,
> replace the "debug:" into "info:",
and restart imapd (as above)
> OR because you said you are using the
"binaries" (but witch binaries ?)
> in /etc/syslog.conf replace something like
> mail.*
-/var/log/maillog
> into
> mail.info
-/var/log/maillog
I edited the fsl.imapd but nothing changed debug: to info:,
even ran
kolabconf and restarted the deamon, but nothing changed.
:-(
Mar 13 23:59:54 mail <notice> imap[13606]: login:
WinMac [192.168.1.22]
userb domain.tld PLAIN+TLS User logged in
Mar 13 23:59:54 mail <notice> imap[13606]: login:
WinMac [192.168.1.22]
userb domain.tld PLAIN+TLS User logged in
Mar 13 23:59:57 mail <debug> imap[13606]: open: user
userb domain.tld
opened INBOX/Kalender
Mar 13 23:59:57 mail <debug> imap[13606]: SQUAT failed
to open index file
Mar 13 23:59:57 mail <debug> imap[13606]: SQUAT
failed
Mar 13 23:59:57 mail <debug> imap[13606]: cmd_expunge:
user
userb domain.tld, mailbox domain.tld!user.userb.Kalender,
sequence ''
Mar 14 00:00:02 mail <debug> imap[13606]: accepted
connection
Mar 14 00:00:02 mail <notice> imap[13606]: login:
localhost [127.0.0.1]
manager plaintext User logged in
Mar 14 00:00:02 mail <notice> imap[13606]: login:
localhost [127.0.0.1]
manager plaintext User logged in
I took the binaries from
ftp://ftp.gwdg.de/pub/linux/kolab/server/release/kolab-serve
r-2.1.0/ix86-debian3.1/
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: Setting the Debug level in Kolab2.1 |
  Italy |
2008-03-13 19:10:44 |
-------- Original Message --------
Subject: Re: Setting the Debug level in Kolab2.1
From: Volker Stoppe <Grenzlaeufer gmx.net>
To: kolab-users kolab.org <kolab-users kolab.org>
Date: Fri Mar 14 2008 07:59:13 GMT+0800 (HKT)
> Thanks Alain and Tobias for the replies!
>
> Am 13.03.2008, 14:01 Uhr, schrieb Alain Spineux
<aspineux gmail.com>:
>
>
>> On Wed, Mar 12, 2008 at 2:08 PM, Tobias Oed
<tobias.oed octant-fr.com>
>>
>
>
>> To answere the Volker question ... This is in
/kolab/etc/fsl/fsl.imapd,
>> replace the "debug:" into
"info:", and restart imapd (as above)
>> OR because you said you are using the
"binaries" (but witch binaries ?)
>> in /etc/syslog.conf replace something like
>> mail.*
-/var/log/maillog
>> into
>> mail.info
-/var/log/maillog
>>
>
> I edited the fsl.imapd but nothing changed debug: to
info:, even ran
> kolabconf and restarted the deamon, but nothing
changed. :-(
>
Did you already tried Alain suggestion:
in /etc/syslog.conf replace something like
mail.*
-/var/log/maillog
into
mail.info
-/var/log/maillog
and restart your syslog?
Luca
> Mar 13 23:59:54 mail <notice> imap[13606]: login:
WinMac [192.168.1.22]
> userb domain.tld PLAIN+TLS User logged in
> Mar 13 23:59:54 mail <notice> imap[13606]: login:
WinMac [192.168.1.22]
> userb domain.tld PLAIN+TLS User logged in
> Mar 13 23:59:57 mail <debug> imap[13606]: open:
user userb domain.tld
> opened INBOX/Kalender
> Mar 13 23:59:57 mail <debug> imap[13606]: SQUAT
failed to open index file
> Mar 13 23:59:57 mail <debug> imap[13606]: SQUAT
failed
> Mar 13 23:59:57 mail <debug> imap[13606]:
cmd_expunge: user
> userb domain.tld, mailbox domain.tld!user.userb.Kalender,
sequence ''
> Mar 14 00:00:02 mail <debug> imap[13606]:
accepted connection
> Mar 14 00:00:02 mail <notice> imap[13606]: login:
localhost [127.0.0.1]
> manager plaintext User logged in
> Mar 14 00:00:02 mail <notice> imap[13606]: login:
localhost [127.0.0.1]
> manager plaintext User logged in
>
> I took the binaries from
>
ftp://ftp.gwdg.de/pub/linux/kolab/server/release/kolab-serve
r-2.1.0/ix86-debian3.1/
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users kolab.org
> https:
//kolab.org/mailman/listinfo/kolab-users
>
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: Setting the Debug level in Kolab2.1 |

|
2008-03-13 19:31:39 |
On Fri, Mar 14, 2008 at 12:59 AM, Volker Stoppe
<Grenzlaeufer gmx.net> wrote:
> Thanks Alain and Tobias for the replies!
>
> Am 13.03.2008, 14:01 Uhr, schrieb Alain Spineux
<aspineux gmail.com>:
>
>
> > On Wed, Mar 12, 2008 at 2:08 PM, Tobias Oed
<tobias.oed octant-fr.com>
>
>
> > To answere the Volker question ... This is in
/kolab/etc/fsl/fsl.imapd,
> > replace the "debug:" into
"info:", and restart imapd (as above)
> > OR because you said you are using the
"binaries" (but witch binaries ?)
> > in /etc/syslog.conf replace something like
> > mail.*
-/var/log/maillog
> > into
> > mail.info
-/var/log/maillog
>
> I edited the fsl.imapd but nothing changed debug: to
info:, even ran
> kolabconf and restarted the deamon, but nothing
changed. :-(
Did you run ?
# /kolab/bin/openpkg rc imapd restart
If so why did you keep a copy of your original fsl.imapd in
the
/etc/fsl directory ? Remove it
>
> Mar 13 23:59:54 mail <notice> imap[13606]:
login: WinMac [192.168.1.22]
> userb domain.tld PLAIN+TLS User logged in
> Mar 13 23:59:54 mail <notice> imap[13606]:
login: WinMac [192.168.1.22]
> userb domain.tld PLAIN+TLS User logged in
> Mar 13 23:59:57 mail <debug> imap[13606]: open:
user userb domain.tld
> opened INBOX/Kalender
> Mar 13 23:59:57 mail <debug> imap[13606]: SQUAT
failed to open index file
> Mar 13 23:59:57 mail <debug> imap[13606]: SQUAT
failed
> Mar 13 23:59:57 mail <debug> imap[13606]:
cmd_expunge: user
> userb domain.tld, mailbox domain.tld!user.userb.Kalender,
sequence ''
> Mar 14 00:00:02 mail <debug> imap[13606]:
accepted connection
> Mar 14 00:00:02 mail <notice> imap[13606]:
login: localhost [127.0.0.1]
> manager plaintext User logged in
> Mar 14 00:00:02 mail <notice> imap[13606]:
login: localhost [127.0.0.1]
> manager plaintext User logged in
>
> I took the binaries from
>
ftp://ftp.gwdg.de/pub/linux/kolab/server/release/kolab-serve
r-2.1.0/ix86-debian3.1/
>
>
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users kolab.org
> https:
//kolab.org/mailman/listinfo/kolab-users
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Re: Setting the Debug level in Kolab2.1 |
  Germany |
2008-03-14 04:21:48 |
Am 14.03.2008, 01:10 Uhr, schrieb Luca Fornasari
<luca furna.com>:
> Did you already tried Alain suggestion:
>
> in /etc/syslog.conf replace something like
> mail.*
-/var/log/maillog
> into
> mail.info
-/var/log/maillog
>
> and restart your syslog?
Yes I did. I have sysklogd installed. Though I don´t think
that it will
change something. All my kolab-logging goes to:
/kolab/var/<servicename>/log/<logfile>.log
Excerpt from my syslog.conf:
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none -/var/log/syslog
#cron.* /var/log/cron.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
lpr.* -/var/log/lpr.log
mail.info -/var/log/mail.log
user.* -/var/log/user.log
uucp.* /var/log/uucp.log
Am 14.03.2008, 01:31 Uhr, schrieb Alain Spineux
<aspineux gmail.com>:
> Did you run ?
> # /kolab/bin/openpkg rc imapd restart
>
> If so why did you keep a copy of your original
fsl.imapd in the
> /etc/fsl directory ? Remove it
Ok, I somekind "removed" it
mail:/kolab/etc/fsl# ls -l fsl.imapd*
-rw-r--r-- 1 kolab kolab 2431 2007-02-05 22:01 fsl.imapd.alt
------------------------------------------------------------
---
I also experimented with the rc.fsl I did
openpkg rc fsl config .... and
openpkg rc fsl daily
and restarted all the daemons. Is it correct that rc.fsl
doesn´t offer
start/restart/stop commands?
mail:/kolab/etc/rc.d# cat rc.fsl
#!/kolab/bin/openpkg rc
##
## rc.fsl -- Run-Commands
##
%config
fsl_enable="$openpkg_rc_def"
fsl_log_prolog="true"
fsl_log_epilog="true"
fsl_log_numfiles="10"
fsl_log_minsize="1M"
fsl_log_complevel="9"
%daily -u root
rcService fsl enable yes || exit 0
shtool rotate -f
-n $ -s $ -d
-z $ -o kolab-r -g kolab-r -m
644
-P "$"
-E "$"
/kolab/var/fsl/fsl.log
------------------------------------------------------------
-
Besides an excerpt of my fsl.imapd, which didn´t bring a
solution. :-(
mail:/kolab/etc/fsl# cat fsl.imapd.alt | grep -A 1 info:
info: file(
path="/kolab/var/imapd/log/imapd.log",
--
info: file(
path="/kolab/var/imapd/log/pop3d.log",
--
info: file(
path="/kolab/var/imapd/log/pop3d.log",
--
info: file(
path="/kolab/var/imapd/log/sieve.log",
--
info: file(
path="/kolab/var/imapd/log/lmtpd.log",
--
info: file(
path="/kolab/var/imapd/log/idled.log",
--
info: file(
path="/kolab/var/imapd/log/notifyd.log",
--
info: file(
path="/kolab/var/imapd/log/cyrdeliver.log",
--
info: file(
path="/kolab/var/imapd/log/master.log",
--
info: file(
path="/kolab/var/imapd/log/cyr_db.log",
--
info: file(
path="/kolab/var/imapd/log/misc.log",
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
[1-7]
|
|