logging added
bugfix reader with empty logs