refactor logging in calendar object listeners to use debug level
This commit is contained in:
parent
6ac8fc9ecc
commit
51890b88e9
@ -56,10 +56,10 @@ class CalendarObjectCreatedListener implements IEventListener {
|
|||||||
$this->gestionService->HandleCreatedCalendarObject($vCalendarString);
|
$this->gestionService->HandleCreatedCalendarObject($vCalendarString);
|
||||||
}
|
}
|
||||||
catch(\OC\OCS\Exception $e){
|
catch(\OC\OCS\Exception $e){
|
||||||
$this->logger->error("Error while handling created calendar object: ".$e->getMessage());
|
$this->logger->debug("Error while handling created calendar object: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
catch(Exception $e){
|
catch(Exception $e){
|
||||||
$this->logger->error("Error while handling created calendar object: ".$e->getMessage());
|
$this->logger->debug("Error while handling created calendar object: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -57,10 +57,10 @@ class CalendarObjectMovedListener implements IEventListener {
|
|||||||
$this->gestionService->HandleCalendarObjectMoved($vCalendarString,$targetCalendarId);
|
$this->gestionService->HandleCalendarObjectMoved($vCalendarString,$targetCalendarId);
|
||||||
}
|
}
|
||||||
catch(Exception $e){
|
catch(Exception $e){
|
||||||
$this->logger->error("Error while handling calendar object moved event: ".$e->getMessage());
|
$this->logger->debug("Error while handling calendar object moved event: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
catch(Exception $e){
|
catch(Exception $e){
|
||||||
$this->logger->error("Error while handling calendar object moved event: ".$e->getMessage());
|
$this->logger->debug("Error while handling calendar object moved event: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -57,10 +57,10 @@ class CalendarObjectUpdatedListener implements IEventListener {
|
|||||||
$this->gestionService->HandleUpdatedCalendarObject($vCalendarString);
|
$this->gestionService->HandleUpdatedCalendarObject($vCalendarString);
|
||||||
}
|
}
|
||||||
catch(\OC\OCS\Exception $e){
|
catch(\OC\OCS\Exception $e){
|
||||||
$this->logger->error("Error while handling updated calendar object: ".$e->getMessage());
|
$this->logger->debug("Error while handling updated calendar object: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
catch(Exception $e){
|
catch(Exception $e){
|
||||||
$this->logger->error("Error while handling updated calendar object: ".$e->getMessage());
|
$this->logger->debug("Error while handling updated calendar object: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -238,10 +238,10 @@ class GestionService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(\OC\OCS\Exception $e){
|
catch(\OC\OCS\Exception $e){
|
||||||
$this->logger->error("Error while handling created calendar object: ".$e->getMessage());
|
$this->logger->debug("Error while handling created calendar object: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
catch(Exception $e){
|
catch(Exception $e){
|
||||||
$this->logger->error("Error while handling created calendar object: ".$e->getMessage());
|
$this->logger->debug("Error while handling created calendar object: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -268,10 +268,10 @@ class GestionService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch(\OC\OCS\Exception $e){
|
catch(\OC\OCS\Exception $e){
|
||||||
$this->logger->error("Error while handling calendar object moved event: ".$e->getMessage());
|
$this->logger->debug("Error while handling calendar object moved event: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
catch(Exception $e){
|
catch(Exception $e){
|
||||||
$this->logger->error("Error while handling calendar object moved event: ".$e->getMessage());
|
$this->logger->debug("Error while handling calendar object moved event: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -309,10 +309,10 @@ class GestionService {
|
|||||||
$this->gestionBdd->createDevisTrajetFromVCalendar($devisId,$userName);
|
$this->gestionBdd->createDevisTrajetFromVCalendar($devisId,$userName);
|
||||||
}
|
}
|
||||||
catch(\OC\OCS\Exception $e){
|
catch(\OC\OCS\Exception $e){
|
||||||
$this->logger->error("Error while handling created calendar object: ".$e->getMessage());
|
$this->logger->debug("Error while handling created calendar object: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
catch(Exception $e){
|
catch(Exception $e){
|
||||||
$this->logger->error("Error while handling created calendar object: ".$e->getMessage());
|
$this->logger->debug("Error while handling created calendar object: ".$e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user