Better error logging

Debugging my current RT issues, I discovered that the logged file
locations are not very useful:

Jul 7 12:38:06 rt RT: RT::Handle=HASH(0x8f5107c) couldn’t execute the
query ‘SELECT * FROM ObjectCustomFieldValues WHERE (id IS NULL OR id =
’’)’ at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 494.
(/usr/local/rt-3.2/lib/RT.pm:277)

Neither of the file locations provide any insight to where the
DBIx::SearchBuilder routine was called from. Is it somehow possible
to enable full backtraces for all logged messages?

Neither of the file locations provide any insight to where the
DBIx::SearchBuilder routine was called from. Is it somehow possible
to enable full backtraces for all logged messages?

I really wouldn’t want this for all logged messages. It would make
the logs big and hard to real through.

On the other hand, it would be a great configuration option.