From 34c35912a4b457c4240c31b956f93c4d87726427 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 1 Sep 2024 10:49:20 +0200 Subject: streamline logging --- lib/Object/Groupware.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Object/Groupware.pm') diff --git a/lib/Object/Groupware.pm b/lib/Object/Groupware.pm index 083f415..a49b47b 100644 --- a/lib/Object/Groupware.pm +++ b/lib/Object/Groupware.pm @@ -20,7 +20,7 @@ ADJUST { $dt_locale = DateTime::Locale->load( $self->dt_locale ) unless $self->dt_locale isa DateTime::Locale::FromData; $log->debugf( - 'Class %s set up to use locale %s (%s)', + 'Object %s locale: %s (%s)', __CLASS__, $self->dt_locale->code, $self->dt_locale->name ); } @@ -28,7 +28,7 @@ ADJUST { $dt_time_zone = DateTime::TimeZone->new( name => $self->dt_time_zone ) unless $self->dt_time_zone isa DateTime::TimeZone; $log->debugf( - 'Class %s set up to use time zone %s', + 'Object %s time zone: %s', __CLASS__, $self->dt_time_zone->name ); } -- cgit v1.2.3