I had a question related to the default "json_cons...
# ask-community
b
I had a question related to the default "json_console_logger". I set this up as part of my definitions
Copy code
import dagster

from dags import cf, observations, ts, pr
from models import database
from dagster import json_console_logger

defs = dagster.Definitions(
    jobs=[
        observations.import_observations.to_job(resource_defs={"database": database}),
        cf.copy.to_job(),
        ts.ts.to_job(resource_defs={"database": database}),
        pr.ss.to_job(resource_defs={"database": database},logger_defs={'json_logger': json_console_logger})
    ],
    resources={"database": database},
)
and then added the following to my yaml config
Copy code
loggers:
  json_logger:
    config:
      log_level: INFO
but am still seeing non json formatted output to the console for my job. Is there something I may have missed?
c
hrm that looks right to me… and it’s specifically
ss
that you’re seeing the issue for?
b
Hi @chris thanks for taking a look! I did try it with all my jobs and got the same