Skip to content

Commit

Permalink
Specify log for automated logging
Browse files Browse the repository at this point in the history
Issue: AAH-2388
  • Loading branch information
bmclaughlin committed Jul 18, 2023
1 parent c50890a commit 6d033ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion galaxy_ng/automated_logging/signals/m2m.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from automated_logging.settings import settings
from automated_logging.signals import lazy_model_exclusion

logger = logging.getLogger(__name__)
logger = logging.getLogger("automated_logging")


def find_m2m_rel(sender, model) -> Optional[ManyToManyField]:
Expand Down
2 changes: 1 addition & 1 deletion galaxy_ng/automated_logging/signals/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
get_client_ip = None


logger = logging.getLogger(__name__)
logger = logging.getLogger("automated_logging")


@receiver(request_finished, weak=False)
Expand Down
2 changes: 1 addition & 1 deletion galaxy_ng/automated_logging/signals/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from automated_logging.helpers.enums import PastOperationMap

ChangeSet = namedtuple('ChangeSet', ('deleted', 'added', 'changed'))
logger = logging.getLogger(__name__)
logger = logging.getLogger("automated_logging")


def normalize_save_value(value: Any):
Expand Down

0 comments on commit 6d033ce

Please sign in to comment.