[debexpo-devel] All you logs are belong to us

Jonny Lamb jonnylamb at jonnylamb.com
Sun Jun 15 04:46:32 CEST 2008


Hi Christoph,

On Thu, Jun 12, 2008 at 12:30:42AM +0200, Christoph Haas wrote:
> I'm following the repository and I like what I see so far. Just for the fun 
> of nitpicking I wanted to ask if you could add debug logging. You seem to 
> be dealing with parsing control files at the moment. And lots of things 
> can go wrong there (just ask how many traps I fell into when hacking 
> together mentors.debian.net). So it would be nice if we could just 
> increase the logging level to logging.DEBUG just in case and see what's 
> going on under the hood.
> 
> I'm doing something similar on http://mentors.debian.net/logs/ in the 
> current mentors.debian.net code. It's tedious indeed but when something 
> happens during the import of packages the administrator is likely not 
> present to debug the code but needs to find out later where the whole 
> thing broke.

These logs on current mentors look very useful. Can I just clarify
exactly what you're for though as I'm not very sure what you mean.
Do you want the importer script to easily create a new log file
for each import like on mentors.d.n/logs/, or would you like more
logging commands, or something else?

Adding correct [logging_importer] entries into development.ini seems
like it would be trivial to set the importer to log everything to a new
file each time, and log each level, but I should probably try it before
I suggest things are trivial!

I totally support the idea of having separate log files for each run of
the import script, but I'm not entirely sure what you are asking.. :-)

Thanks,

-- 
Jonny Lamb, UK                                   jonnylamb at jonnylamb.com
http://jonnylamb.com                                     GPG: 0x2E039402
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://workaround.org/pipermail/debexpo-devel/attachments/20080615/2e0d79a5/attachment.pgp 


More information about the debexpo-devel mailing list