[katello-devel] Testing logs and SQL

Lukas Zapletal lzap at redhat.com
Wed Jan 11 14:31:31 UTC 2012


Hello,

for development environment we have SQL logs in a different file:

log/development.log - rails related logging
log/development_sql.log - AR SQL

I think it is very handsome thing and I am going to merge a small change
that will do the same for test environment if there are no objections.

log/test.log - rails related logging
log/test_sql.log - AR SQL

Please note those files, particularly ths SQL log, can grow in size very
much. I recommend to create a symlink to /dev/null if you don't plan to
use it, or delete it regularly (e.g. on the Hudson).

In other words, after I merge this change, check out log/test.log when
dealing with exceptions during unit testing. It's much more cleaner now
and one can find backtraces faster.

LZ

-- 
Later,

 Lukas Zapletal | E32E400A
 RHN Satellite Engineering
 Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list