Questions tagged [error-log]

The Error Log view captures all the warnings and errors logged by plug-ins.

The error logging system aims at making logging much more flexible at run time. The decision to log or not is highly configurable, and controllable while running. One should be able to enable or disable messages based on source file, class, function, and level. This enables easier debugging as developers can turn messages on as needed to see what is going on without recompiling or restarting. It will also help in that messages which are no longer useful can be disabled and so not flood the logs.

A secondary goal is the regularization of all messages so that the class and function are printed out automatically at the start of all messages. This greatly aids in both find the source of messages, and in filtering log files.

Of course, if all message logging code is to be compiled in, another goal must be to make skipping suppressed log messages as efficient as possible.

360 questions
399
votes
10 answers

Where can I find the error logs of nginx, using FastCGI and Django?

I'm using Django with FastCGI + nginx. Where are the logs (errors) stored in this case?
ha22109
  • 7,380
  • 11
  • 41
  • 48
56
votes
4 answers

Where are Magento's log files located?

I am new to Magento. I can't find log files in Magento. I googled it, but the Magento Commerce site returns closed and some other sites explain how to create custom log files. I want to know the location of built-in log files.
IamGhale
  • 1,205
  • 2
  • 13
  • 24
36
votes
11 answers

Failed Apache2 start, no error log

I would restart Apache2 but there comes an Error $ sudo service apache2 start Starting web server apache2 Action 'start' failed. The Apache error log may have more information. But all error logs in "/var/log/apache2/" are empty. Edit: The Files…
fechnert
  • 1,097
  • 2
  • 9
  • 27
32
votes
3 answers

Android Studio 3.1 not showing build error details

I have updated to Android Studio 3.1 and it doesn't show the details of error during compile time. Suppose if I miss a semicolon somewhere or I haven't implemented a method of an interface, then it gives me this error all the time, but doesn't tell…
Gurleen Sethi
  • 2,299
  • 4
  • 18
  • 39
32
votes
16 answers

php error_log not working

This has been asked 1000 times and I have browsed through the different posts before posting this but have not found an answer. As long as I have been prgramming with PHP, this have always been a nightmare to get working. Can someone please tell me…
Jim
  • 331
  • 1
  • 3
  • 6
26
votes
5 answers

Is it possible for $_SERVER['HTTP_USER_AGENT'] to not be set?

I've just been looking through a website's error_log and one of the error's that has been logged a few times is: [21-Jun-2011 12:24:03] PHP Notice: Undefined index: HTTP_USER_AGENT in /home/ukevents/public_html/lib/toro.php on line 130 The line…
Martin Bean
  • 33,901
  • 20
  • 114
  • 183
19
votes
4 answers

PHP - Log stacktrace for warnings?

Is it possible to log stacktraces for php warnings? Or catch a warning and error_log() it? There's some code causing warnings in my error log, but it's impossible to know what's causing these warnings without knowing the stack trace.
quano
  • 17,702
  • 24
  • 94
  • 108
17
votes
6 answers

How to write error log or exception into file in java

Is there any way to write error log or exception into a file in java. i have gone through Log4j. I googled about it but diidnt find a good solution. I have written a simple code catch (Exception e) { PrintWriter pw = new PrintWriter(new…
adesh
  • 752
  • 4
  • 12
  • 21
17
votes
5 answers

How can I parse Apache's error log in PHP?

I want to create a script that parses or makes sense of apache's error log to see what the most recent error was. I was wondering if anyone out there has something that does this or has any ideas where to start?
SeanDowney
  • 16,172
  • 17
  • 77
  • 88
16
votes
3 answers

php error log missing in XAMPP

php.ini contains following parameters: track_errors=On error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT log_errors=On error_log="C:\xampp\php\logs\php_error_log" but "logs" folder is missing in this path. Its not even hidden folder. where to find…
Soumya Agrawal
  • 159
  • 1
  • 1
  • 8
16
votes
3 answers

Are SQL Server timeouts logged?

Are SQL Server timeouts (SELECT queries, in particular) logged in the ERRORLOG file? Background is a customer with a web site having occasional "Request timeout" messages, looking to me assuming that the timeout is caused by a database timeout. …
Nick Watts
  • 223
  • 1
  • 3
  • 8
15
votes
3 answers

NodeJS ExpressJS - how to log errors for the production server?

How can I log any errors from ExpressJS apps into a file? I know I can log a Slim framework easily with monolog: $app->get('/tickets', function (Request $request, Response $response) { $this->logger->addInfo("Something interesting happened"); …
laukok
  • 47,545
  • 146
  • 388
  • 689
15
votes
3 answers

How can I see the error log (logcat) for Android in Eclipse?

How / where can I see what happened when my Android application crashes in Eclipse (using Run, not Debug)?
jul
  • 33,288
  • 64
  • 178
  • 299
14
votes
3 answers

Disable E_DEPRECATED in php error log

I have a production server running commercial software that utilizes deprecated functionality. We already disabled error outputs in php.ini -- display_errors = Off -- so users are not seeing these errors. However we are still logging PHP errors --…
Frank Koehl
  • 2,852
  • 2
  • 26
  • 34
14
votes
1 answer

How to enable error log in Ubuntu Apache

How can I enable error log on my Ubuntu Apache Server so that if any error occurs be it any PHP Syntax and other errors, server error should get stored in error log file Also how can I view apache error log file?
D555
  • 1,432
  • 5
  • 20
  • 38
1
2 3
23 24