maybe elsewhere because it is not tornado related
# tornadofx
b
maybe elsewhere because it is not tornado related
c
i think it's ok here. we'll bury it in a thread
👍 1
b
try { configurationController.addStatementsFromFile("config/local.ttl") } catch (e: FileNotFoundException) { logger.warn("config/local.ttl file is missing") }
so what is wrong with that kind of pattern?
c
nothing.. you have a log message in the exception handler
b
oh and another question
how can I make the logger redirect to the GUI?
I would like to see the log in a log tab
c
Did u see my text area appending in a prior snippet?
b
yes
I want the output of slf4j to be visible as individual log events in the GUI (if that is ever possible)
c
it is. i'll try to work something up later. there are a few ways to go about this on the file polling + watching side, but they'll result in events being posted back to the UI
👍 1