Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.2k views
in Java FTP by (320 points)
I have a class that is spawned multiple times and each thread has his own log - but the Logger.addAppender method appears to only allow the attach to the base class - that means all my threads write in ALL the logs that have been spawned for that class - a very big nuisance - am I missing something, can I give it the thread name instead of the class name ?

2 Answers

0 votes
by (162k points)
Currently you can't do this. Sorry.
0 votes
by (320 points)
Currently you can't do this. Sorry.


thanks for your response -
ok so the Logger object can only be assigned to the base class - any other way that I can capture the bottom level responses from 1 SFTP connection ? - I am doing try/catches of course, but really need to monitor what is happening, for when things go wrong, so I would like to log the whole conversation for the thread - could I reference the underlying J2ssh classes and pick up the responses that way ? - thought I'd ask before I start investigating that myself (:>)
thank you

Categories

...