Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
refactor: improve logging (DEV-634) (#2021)
  • Loading branch information
subotic committed Mar 14, 2022
1 parent 70630f1 commit 85d1057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -131,7 +131,7 @@ class SipiResponderADM(responderData: ResponderData) extends Responder(responder
)
}

_ = println(s"SipiResponderADM returning permission code $permissionCode")
_ = log.info(s"filename ${request.filename}, permission code: $permissionCode")
} yield response
}
}
Expand Up @@ -39,7 +39,7 @@ class SipiRouteADM(routeData: KnoraRouteData) extends KnoraRoute(routeData) with
projectIDAndFile(1),
throw BadRequestException(s"Invalid filename: '${projectIDAndFile(1)}'")
)
_ = println(s"/admin/files route called for filename $filename")
_ = log.info(s"/admin/files route called for filename $filename")
} yield SipiFileInfoGetRequestADM(
projectID = projectID,
filename = filename,
Expand Down

0 comments on commit 85d1057

Please sign in to comment.