3

Is it possible to configure a logger from a Java library (like logback) so that it logs into separate windows in Eclipse?

I want to distinguish library printouts from my program printouts.

lucian.pantelimon
  • 3,673
  • 4
  • 29
  • 46
Dims
  • 47,675
  • 117
  • 331
  • 600

1 Answers1

0

If the external library uses a different logging framework you can set it up to output to a file and then configure your loggers to output to a different file. Admittedly, it's a bit of a hack.

mbatchkarov
  • 15,487
  • 9
  • 60
  • 79
  • Eclipse will ask me whether I wish to reload changed file from disk. I can't press "yes" all the time. I need window to update constantly itself like console window does. – Dims Mar 23 '12 at 15:31
  • 1
    Well, maybe something like [this viewer] (http://marketplace.eclipse.org/content/logviewer) could help. Disclaimer: have not used it. – madth3 Mar 23 '12 at 17:09