question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mongo: db actions aren't logged in console even if passing in logging: true

See original GitHub issue

Issue type:

[ ] question [x] bug report [ ] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [x] mongodb [ ] mssql [ ] mysql / mariadb [ ] oracle [ ] postgres [ ] sqlite [ ] sqljs [ ] websql

TypeORM version:

[] latest [ ] @next [x] 0.1.20 (or put your version here)

I’m not seeing any database related logging when setting logging: true in the connectionOptions. Nor am I seeing logging when setting logging to true in the ormconfig.json file

Here is a repo where this is occurring:

https://github.com/mcMickJuice/typeorm-logger-bug

Link to documentation that I am following:

http://typeorm.io/#/logging

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:10
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
cojackcommented, Mar 25, 2019

Still nothing? After year?!

4reactions
mihailShumilovcommented, Aug 20, 2021

hm… issue still actual…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Realm Trigger executions not being logged - MongoDB
I have a simple trigger set up “onConfigChange” that runs when a document in my config collection is updated. The function: The trigger...
Read more >
Log Messages — MongoDB Manual
Log entries are written as a series of key-value pairs, where each key indicates a log message field type, such as "severity", and...
Read more >
serverStatus — MongoDB Manual
This command will always return a value, even on a fresh database. ... Examine the log file for more information about these messages....
Read more >
Console.logging out my aggregation pipeline for test - MongoDB
I am trying to console.log the below which does not return anything back to me. Is this an issue with the testing sample...
Read more >
Logging in .NET Core and ASP.NET Core | Microsoft Learn
The Logging property can have LogLevel and log provider properties. The LogLevel specifies the minimum level to log for selected categories. In ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found