Modifications in Logger

Logging should be linked to identifiers, not to specific files.