Mailinglist Archive: zypp-devel (92 mails)
| < Previous | Next > |
Re: [zypp-devel] Cleaning up YaST log files
- From: Ladislav Slezak <lslezak@xxxxxxx>
- Date: Thu, 30 Aug 2007 17:08:01 +0200
- Message-id: <46D6DD51.7040307@xxxxxxx>
Lukas Ocilka wrote:
> I've used y2log-1 from bug #304815 as an example. The format is:
> Source File | Log Level | Count | Total Size in Bytes
>
> QueueItemRequire.cc 1 1956 285.556
> 0 450 88.196
> ContextPool.cc 0 6145 844.020
> Exception.cc 5 7807 1.531.198
> Resolver.cc 1 6630 886.471
> 0 12858 1.664.251
> MediaCurl.cc 0 5900 968.752
> ResolverUpgrade.cc 1 15506 2.675.810
> ExternalProgram.cc 0 7479 1.145.172
There are logged messages with level 0, they should be logged only when debug
logging is enabled. I should fix the redirection in pkg-bindings to check the
level. That would considerably decrease the amount of logged messages without
any change in zypp...
If you are removing a log message consider using the debug level (level 0) if
the message might be useful in some situation later. It's usually easy to ask
the reporter to enable debug and reproduce the problem again if you need more
information for debugging.
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
> I've used y2log-1 from bug #304815 as an example. The format is:
> Source File | Log Level | Count | Total Size in Bytes
>
> QueueItemRequire.cc 1 1956 285.556
> 0 450 88.196
> ContextPool.cc 0 6145 844.020
> Exception.cc 5 7807 1.531.198
> Resolver.cc 1 6630 886.471
> 0 12858 1.664.251
> MediaCurl.cc 0 5900 968.752
> ResolverUpgrade.cc 1 15506 2.675.810
> ExternalProgram.cc 0 7479 1.145.172
There are logged messages with level 0, they should be logged only when debug
logging is enabled. I should fix the redirection in pkg-bindings to check the
level. That would considerably decrease the amount of logged messages without
any change in zypp...
If you are removing a log message consider using the debug level (level 0) if
the message might be useful in some situation later. It's usually easy to ask
the reporter to enable debug and reproduce the problem again if you need more
information for debugging.
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |