Merge pull request #1 from Serinus1/master

test
Detect if logfile is used
Removed stacktrace
Merge pull request #2 from kiu/master

Detect if logfile is in use