Remove __CLASS__ from debug logs
This commit is contained in:
parent
41e900fc7a
commit
47e4274579
|
|
@ -40,7 +40,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
|
|||
*/
|
||||
public function afterLogin(AuthSuccessEvent $event)
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
|
||||
$userAgent = $this->request->getUserAgent();
|
||||
$ipAddress = $this->request->getIpAddress();
|
||||
|
|
@ -71,7 +71,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
|
|||
*/
|
||||
public function afterLogout()
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$credentials = $this->rememberMeCookie->read();
|
||||
|
||||
if ($credentials !== false) {
|
||||
|
|
@ -92,7 +92,7 @@ class AuthSubscriber extends BaseSubscriber implements EventSubscriberInterface
|
|||
*/
|
||||
public function onLoginFailure(AuthFailureEvent $event)
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$username = $event->getUsername();
|
||||
|
||||
if (! empty($username)) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class BootstrapSubscriber extends BaseSubscriber implements EventSubscriberInter
|
|||
|
||||
public function execute()
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$this->config->setupTranslations();
|
||||
$this->config->setupTimezone();
|
||||
$this->actionManager->attachEvents();
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class NotificationSubscriber extends BaseSubscriber implements EventSubscriberIn
|
|||
public function handleEvent(GenericEvent $event, $event_name)
|
||||
{
|
||||
if (! $this->isExecuted($event_name)) {
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$event_data = $this->getEventData($event);
|
||||
|
||||
if (! empty($event_data)) {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class ProjectDailySummarySubscriber extends BaseSubscriber implements EventSubsc
|
|||
public function execute(TaskEvent $event)
|
||||
{
|
||||
if (isset($event['project_id']) && !$this->isExecuted()) {
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$this->projectDailyColumnStats->updateTotals($event['project_id'], date('Y-m-d'));
|
||||
$this->projectDailyStats->updateTotals($event['project_id'], date('Y-m-d'));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class ProjectModificationDateSubscriber extends BaseSubscriber implements EventS
|
|||
public function execute(GenericEvent $event)
|
||||
{
|
||||
if (isset($event['project_id']) && !$this->isExecuted()) {
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$this->project->updateModificationDate($event['project_id']);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class RecurringTaskSubscriber extends BaseSubscriber implements EventSubscriberI
|
|||
|
||||
public function onMove(TaskEvent $event)
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
|
||||
if ($event['recurrence_status'] == Task::RECURRING_STATUS_PENDING) {
|
||||
if ($event['recurrence_trigger'] == Task::RECURRING_TRIGGER_FIRST_COLUMN && $this->board->getFirstColumn($event['project_id']) == $event['src_column_id']) {
|
||||
|
|
@ -31,7 +31,7 @@ class RecurringTaskSubscriber extends BaseSubscriber implements EventSubscriberI
|
|||
|
||||
public function onClose(TaskEvent $event)
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
|
||||
if ($event['recurrence_status'] == Task::RECURRING_STATUS_PENDING && $event['recurrence_trigger'] == Task::RECURRING_TRIGGER_CLOSE) {
|
||||
$this->taskDuplication->duplicateRecurringTask($event['task_id']);
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class SubtaskTimeTrackingSubscriber extends BaseSubscriber implements EventSubsc
|
|||
public function updateTaskTime(SubtaskEvent $event)
|
||||
{
|
||||
if (isset($event['task_id'])) {
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$this->subtaskTimeTracking->updateTaskTimeTracking($event['task_id']);
|
||||
}
|
||||
}
|
||||
|
|
@ -31,7 +31,7 @@ class SubtaskTimeTrackingSubscriber extends BaseSubscriber implements EventSubsc
|
|||
public function logStartEnd(SubtaskEvent $event)
|
||||
{
|
||||
if (isset($event['status']) && $this->config->get('subtask_time_tracking') == 1) {
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
$subtask = $this->subtask->getById($event['id']);
|
||||
|
||||
if (empty($subtask['user_id'])) {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class TransitionSubscriber extends BaseSubscriber implements EventSubscriberInte
|
|||
|
||||
public function execute(TaskEvent $event)
|
||||
{
|
||||
$this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__);
|
||||
$this->logger->debug('Subscriber executed: '.__METHOD__);
|
||||
|
||||
$user_id = $this->userSession->getId();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue