Mike Klaas wrote:
On 27-Dec-07, at 5:26 PM, Ryan McKinley wrote:
Seems like that would be the best solution. Me (and, I think, many
others), would be unlikely to used the multiple core functionality of
Solr at all. Avoiding lengthening the log messages in this case
would be nice.
check rev 607151 -- this removes the "[name] " bit for things where
the name is null
Looks great, thanks. I haven't really followed the multicore discussion
very closely (so ignore this if it doesn't compute), but might it make
sense for the core-specific log object to automatically prepend the
corename to the log message (cursorily, it looks like current it is
necessary for each logging call to prepend the corename (.getLogId()) if
the log message is to be core-specific)?
Sounds like a good idea, but how would you do it?
Right now it calls log.info( logId + "message..." ) everywhere. Is
there a way to change the underlying log format for each core? (log is
currently a static Logger log = Logger.getLogger(...);
ryan