Questions tagged as 'log'

2
answers

Best practice to log system log

What is the best practice for registering a log system? public void inserirLog(string Acao) { StringBuilder csql = new StringBuilder(); csql.Append("insert into Log (Acao,data) values("); csql.Append(@"""...
asked by 26.02.2015 / 19:26
3
answers

Java / Android: How to display in StackTrace Log

How can I display the entire exception error code (FullStackTrace) in the Android Log? try { //CODE }catch (Exception e){ Log.e(TAG,e.getStackTrace()); }     
asked by 18.12.2013 / 22:08
4
answers

Good practices for storing logs

What information should be stored? Is it a good practice to use TRIGGER in the database to store logs or via code is something safer and easier to maintain?
asked by 01.04.2014 / 21:33
4
answers

How to check the PostgreSQL logs?

I have a legacy database that when doing certain actions on the system that have access to it, several tables are modified, I was able to identify at least 04 tables being changed. My question is is there a log file of PostgreSQL so that I can...
asked by 12.07.2017 / 13:11
3
answers

Read Log.txt from the Remote Server on the Local Server in Real Time

These days passed the idea (I must have read somewhere and refreshed) to have a program on the local server that is synchronized with the remote server, where in this program I can see in real time the log file of the server, thus facilitating a...
asked by 28.08.2015 / 20:50
1
answer

Differences between Log4J and SLF4J

What are the vantagens and desvantagens of each? Can they be usados simultaneamente in the same project?     
asked by 23.04.2014 / 17:50
1
answer

How to implement a LOG of updates with ASP.NET MVC?

I would like ideas on how to implement a generic update LOG in DB (Entity Framework 6+) that would allow me to discover information such as: System user X on date Y changed name and date of birth (from, to) in the customer registry. I think i...
asked by 16.06.2014 / 14:03
2
answers

How to create Application Error in Production (Client)

I'm looking for a way (efficient and practical) to globally capture all Exceptions not handled by the application (the ones that take the application to crash or "The application stopped working!") p> Questions: Is there any method...
asked by 23.04.2015 / 17:00
1
answer

Capturing PHP errors and Exceptions

Scenario I know that I can set up the logs for errors and exceptions to be written, that's cool, but sometimes it's too boring to read these files. Question How to catch Errors and Exceptions in order to be able to handle them at r...
asked by 28.01.2014 / 20:58
1
answer

Log with historical debug (IntelliTrace)

I have a WPF application and am looking for the best way to solve unhandled exceptions. Today, when an unexpected exception occurs, deal in event Application.DispatcherUnhandledException . There, I write the Exception.StackTrace...
asked by 08.02.2017 / 02:05