Questions tagged as 'log'

2
answers

What is the best way to handle Exceptions and Log in WebAPI (C #)? [duplicate]

Scenario: WebAPIs in .NET 4.x Objective: Improve Logging (info, error, debug, warning) and Exception Handling, for example, logging exceptions, which frameworks do Logs use? Where do they usually store Logs? I found a tool called DataD...
asked by 14.11.2017 / 16:13
1
answer

When should I use each log level in Android Studio?

There are different levels of log in Android Studio, which perhaps, I say perhaps, is not very different in other IDE's. Basically they are the different way I can write a message in logcat . The types are VERBOSE , DEBUG , INF...
asked by 14.03.2017 / 13:26
2
answers

Log Generation with NLog?

I am using NLog , and for each client logged into the system I would like to create a behavior for generating logs as follows: [nome-cliente-1]-[dataAtual].txt [nome-cliente-2]-[dataAtual].txt Ex: Joao-da-silva-01-11-2016.txt I would lik...
asked by 01.11.2016 / 14:32
1
answer

After git reset, how do you see git log prior to reset?

I was in the following situation, I was doing a training and I arrived at a point that my page was not loading correctly, being different from the instructor, it indicated a CSS problem so I made a git log and went making git reset...
asked by 24.03.2018 / 17:56
1
answer

Best way to create a click report (PHP MySQL)

I am setting up a real estate market system where real estate developers can see the land available for construction. Then I want to record the clicks that each developer gives on any land so I can pull reports of the most clicked, which land th...
asked by 21.03.2018 / 19:08
1
answer

Can you ignore a page in the apache log?

I'm developing a page which will permanently query via Ajax, it happens that the Apache Access Log will fill up very quickly and this brings me a server space problem, I was wondering how to handle this, one solution would be to ignore only the...
asked by 11.01.2018 / 12:41
1
answer

Error using monolog: PHP Fatal error: Class 'Monolog \ Logger' not found

I tried using monolog in my application, however, after the installation was done according to documentation , I try to import and use it, but there is an error message stating that it could not be found. <?php use Monolog\Logger; use Mon...
asked by 17.02.2017 / 10:59
2
answers

How to customize tomcat logging in spring boot?

I have a small problem with my application, my tomcat log is generating a large amount of data, and this is leaving the company application half slow, I wonder if there is any way to decrease the amount of log , in other words, if there is how t...
asked by 02.01.2017 / 11:49
1
answer

Error writing database log record

I have a database with MySQL. I am doing the log of this database. Most are working, but I can not get the registry id that has been modified. Example : When changing some data, it should be saved in the log id of the record that was cha...
asked by 06.11.2015 / 12:51
0
answers

Value passed in the pattern tag keys Logback

I am studying about Logback to implement in my company system, and in tag pattern I have the following: [%d{yyyy-MM-dd HH:mm:ss.SSS}] %level [%thread] %class{0} %method %line - %message%n I noticed that changing the value i...
asked by 02.10.2018 / 23:08