Skip to content

[New Platform / LoggerFactory] Debug messages are not appearing #55456

@tsullivan

Description

@tsullivan

In #55442 Reporting Services team is re-instrumenting the plugin to use the new logging service from the New Platform.

In that test branch, I see almost all of the log messages that can be seen in master, except for debug-level messages.

CSV export has a few debug messages. In master, a CSV export job could log this:

server    log   [11:43:32.340] [debug][esqueue][queue-worker][reporting] k5o88fof21n67a3f11cncpbn - Job created in index .reporting-2020.01.19
server    log   [11:43:32.363] [debug][esqueue][queue-worker][reporting] k5o88fof21n67a3f11cncpbn - Job index refreshed .reporting-2020.01.19
server    log   [11:43:32.364] [info][queue-job][reporting] Successfully queued job: k5o88fof21n67a3f11cncpbn
server    log   [11:43:34.475] [debug][esqueue][queue-worker][reporting] k5o7yx7y21n67a3f11ebtyjb - 1 outstanding jobs returned
server    log   [11:43:34.494] [info][esqueue][queue-worker][reporting] k5o7yx7y21n67a3f11ebtyjb - Job marked as claimed: /.reporting-2020.01.19/k5o88fof21n67a3f11cncpbn
server    log   [11:43:34.494] [info][esqueue][queue-worker][reporting] k5o7yx7y21n67a3f11ebtyjb - Starting job
server    log   [11:43:34.558] [warning][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] Kibana Advanced Setting "dateFormat:tz" is set to "Browser". Dates will be formatted as UTC to avoid ambiguity.
server    log   [11:43:34.559] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] executing search request
server    log   [11:43:34.706] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] executing scroll request
server    log   [11:43:34.858] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] executing scroll request
server    log   [11:43:34.995] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] executing scroll request
server    log   [11:43:35.160] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] executing scroll request
server    log   [11:43:35.417] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] executing scroll request
server    log   [11:43:35.586] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] executing scroll request
server    log   [11:43:35.601] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] executing clearScroll request
server    log   [11:43:35.616] [debug][csv][execute-job][k5o88fof21n67a3f11cncpbn][reporting] finished generating, total size in bytes: 446137
server    log   [11:43:35.618] [info][esqueue][queue-worker][reporting] k5o7yx7y21n67a3f11ebtyjb - Job execution completed successfully
server    log   [11:43:35.794] [debug][queue-worker][reporting] Worker completed: (k5o88fof21n67a3f11cncpbn)
server    log   [11:43:35.794] [info][esqueue][queue-worker][reporting] k5o7yx7y21n67a3f11ebtyjb - Job data saved successfully: /.reporting-2020.01.19/k5o88fof21n67a3f11cncpbn

In the New Platform logger, only the info log messages appear:

server    log   [11:33:40.589] [info][queue-job][reporting] Successfully queued job: k5o7vqy7219v7a3f11crntxa
server    log   [11:33:41.693] [info][info][esqueue][queue-worker][reporting] k5o7qvh2219v7a3f115wezue - Job marked as claimed: /.reporting-2020.01.19/k5o7vqy7219v7a3f11crntxa
server    log   [11:33:41.695] [info][info][esqueue][queue-worker][reporting] k5o7qvh2219v7a3f115wezue - Starting job
server    log   [11:33:41.760] [warning][csv][execute-job][k5o7vqy7219v7a3f11crntxa][reporting] Kibana Advanced Setting "dateFormat:tz" is set to "Browser". Dates will be formatted as UTC to avoid ambiguity.
server    log   [11:33:42.774] [info][info][esqueue][queue-worker][reporting] k5o7qvh2219v7a3f115wezue - Job execution completed successfully
server    log   [11:33:42.976] [info][info][esqueue][queue-worker][reporting] k5o7qvh2219v7a3f115wezue - Job data saved successfully: /.reporting-2020.01.19/k5o7vqy7219v7a3f11crntxa

Metadata

Metadata

Assignees

Labels

Feature:New PlatformTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//bugFixes for quality problems that affect the customer experience

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions