Skip to content
Permalink
Browse files
refactor: improve logging (DEV-634) (#2021)
  • Loading branch information
subotic committed Mar 14, 2022
1 parent 70630f1 commit 85d1057062cb3d76d083b684d21ece8dcb46a1a4
@@ -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
}
}
@@ -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,

0 comments on commit 85d1057

Please sign in to comment.