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