tagged [logging]
How to log something in Rails in an independent log file?
How to log something in Rails in an independent log file? In rails I want to log some information in a different log file and not the standard development.log or production.log. I want to do this logg...
- Modified
- 3 Dec at 16:24
How to get Android crash logs?
How to get Android crash logs? I have an app that is not in the market place (signed with a debug certificate), but would like to get crash log data, whenever my application crashes. Where can I find ...
Location of GlassFish Server Logs
Location of GlassFish Server Logs I have NetBeans IDE installed on a Windows 7 64-bit machine. Obviously, NetBeans comes with the GlassFish server. I am currently having problems with a project and wo...
Retrieve last 100 lines logs
Retrieve last 100 lines logs I need to retrieve last 100 lines of logs from the log file. I tried the sed command Please let me know how can I change this command to specifically retrieve the 100 line...
How to see query history in SQL Server Management Studio
How to see query history in SQL Server Management Studio Is the query history stored in some log files? If yes, can you tell me how to find their location? If not, can you give me any advice on how to...
- Modified
- 23 Aug at 06:31
log4j logging hierarchy order
log4j logging hierarchy order What is the hierarchy of log4j logging? Which one provides the highest logging which would be helpful to troubleshoot issues? Can any one provide the order or hierarchy i...
Append text with .bat
Append text with .bat I want to create a log of every operation processed in a batch file and used the following but to no avail. How do I fix it (the file was not created)?
- Modified
- 30 Jul at 14:35
How to write to a file, using the logging Python module?
How to write to a file, using the logging Python module? How can I use the [logging](https://docs.python.org/3.7/library/logging.html#module-logging) module in Python to write to a file? Every time I ...
MySQL/Writing file error (Errcode 28)
MySQL/Writing file error (Errcode 28) I have the following error with one of our web applications - Any ideas - is this some hard disk space issue on my server?
In C# should my Common.Logging logger be an instance member or static?
In C# should my Common.Logging logger be an instance member or static? Looking [a project](https://github.com/quartznet/quartznet/tree/master/src/Quartz.Examples/example1) that uses [Common.Logging](h...
- Modified
- 21 May at 15:20
How to disable logging on the standard error stream?
How to disable logging on the standard error stream? How to disable [logging](http://docs.python.org/library/logging.html) on the standard error stream in Python? This does not work:
ILogger and DependencyInjection in ASP.NET Core 2+
ILogger and DependencyInjection in ASP.NET Core 2+ I notice there is no explicit `ILogger` registration in `ConfigureServices` in `Startup.cs`. First question: how does `ILogger` get injected into e.g...
- Modified
- 26 Jul at 12:26
Do __LINE__ __FILE__ equivalents exist in C#?
Do __LINE__ __FILE__ equivalents exist in C#? For logging purposes were my friends in C/C++. In Java to get that information I had to throw an exception and catch it. Why are these old standbys so neg...
heroku - how to see all the logs
heroku - how to see all the logs I have a small app on heroku. Whenever I want to see the logs I go to the command line and do That only shows me about 100 lines. Is there not a way to see complete lo...
Logging in a C# library
Logging in a C# library What is the best practise regarding logging inside a library? I am creating a C# library to be used by users and at some points I want to log an error or a warning. Is it a goo...
How can I log the generated SQL from DbContext.SaveChanges() in my Program?
How can I log the generated SQL from DbContext.SaveChanges() in my Program? According [this](https://stackoverflow.com/a/1412902/1594487) thread, we can log the generated `SQL` via `EF`, but what abou...
- Modified
- 23 May at 11:47
Get Output From the logging Module in IPython Notebook
Get Output From the logging Module in IPython Notebook When I running the following inside IPython Notebook I don't see any output: Anyone know how to make it so I can see the "test" message inside th...
- Modified
- 22 Mar at 01:14
Write to EventLog in .Net Core
Write to EventLog in .Net Core I need a way to write to Windows' event viewer in my app that's using dnx. But, the `EventLog` class isn't available in the `System.Diagnostics` namespace so I'm stuck. ...
What's the most widely-used logging framework in C#?
What's the most widely-used logging framework in C#? I'm looking into how to implement logging in my C# app - its a DLL class library. What logging frameworks are most widely used - what would give us...
Why do loggers recommend using a logger per class?
Why do loggers recommend using a logger per class? As per NLog's documentation: > Most applications will use one logger per class, where the name of the logger is the same as the name of the class. Th...
What is the best way to dump entire objects to a log in C#?
What is the best way to dump entire objects to a log in C#? So for viewing a current object's state at runtime, I really like what the Visual Studio Immediate window gives me. Just doing a simple Will...
- Modified
- 18 Jan at 04:7
How to Get the Query Executed in Laravel 5? DB::getQueryLog() Returning Empty Array
How to Get the Query Executed in Laravel 5? DB::getQueryLog() Returning Empty Array I'm trying to view the log for a query, but `DB::getQueryLog()` is just returning an empty array: How can I view the...
tool analyzing log4net logs
tool analyzing log4net logs Is there a tool which can be used to analyze log4net logs. Particulary I would like to extract two method calls by thread id and analyze the duration between the two, to cr...
- Modified
- 10 Dec at 13:5
How can I add a Trace() to every method call in C#?
How can I add a Trace() to every method call in C#? I am having a hard time tracking down a lock issue, so I would like to log every method call's entry and exit. I've done this before with C++ withou...