Computer data logging is the process of recording events in a computer program, usually with a certain scope, in order to provide an audit trail that can be used to understand the activity of the system and to diagnose problems.
0
votes
0answers
3 views
Save Log File in Azure
In summary
I want to capture this in a text file in azure
Console.WriteLine("Message");
Long text:
well my question today is how to save a log file in the blob storage in azure
I used to have ...
0
votes
0answers
5 views
logback not creating output file - cannot find logback.xml
I realize that parts of this problem have been solved elsewhere but I'm going to try my best to phrase this with as much info. as possible in hopes that it may help others.
main problem: logback is ...
1
vote
1answer
20 views
Python Logging with Multiprocessing in Windows
I have a rather large Python project which currently runs on Linux but I am trying to expand to Windows. I've reduced the code to a full example which can be run to illustrate my problems: I have two ...
-5
votes
0answers
18 views
Postfix log all recived/sent mails [on hold]
I search for some PERL script to read that what i need from Postfix maillog.
I need DATE of email, FROM and TO.
I try to use pflogsumm but it better for daily raports then single messages.
Please ...
-1
votes
0answers
2 views
Are there any nice tools to help process/visualize my exception logs?
I have a gigantic .NET web application that has a lot of different pieces to it.
I also have a gigantic exception log table in a SQL2008 database full of the .NET exceptions. It is so large that when ...
0
votes
0answers
6 views
SOAP Logs with Google AdWords
I am trying to use SOAP Logs with Google AdWords to troubleshoot something.
I am able to connect with the server from my local machine and make changes via Visual Studio that will be immediately ...
0
votes
0answers
8 views
Celery and logging
I would like to redirect celery logs in a file thanks to the logging configuration.
I set:
CELERY_HIJACK_ROOT_LOGGER=False
And my logging configuration is:
LOGGING = {
'version': 1,
...
0
votes
0answers
13 views
Weird Symfony2 error logs with JS encoded codes in paths
We found suspicious logs in our Symfony2 application:
PHP Fatal error: require(): Failed opening required '/var/www/apps/symfony2/vendor/symfony/symfony/src/Symfony/Compone\xc8 i+m\x7f'
PHP Fatal ...
0
votes
0answers
6 views
SpamAsassin. How to log all messages?
I installed SpamAssassin on my server. I try to bulid some live-preview on what was sent, what was spam, who was sender, and all that information.
I try to analyze whole log file ( 400mb.. ) in PHP ...
0
votes
0answers
3 views
Log rotate on per worker thread id basis
I have log of following format
2014-10-02 11:06:40,806: INFO/Worker-1] avg2013[ca9da250-b295-428b-879a-92bc14f8d6d4]: Process stderr:
[2014-10-02 11:06:40,806: INFO/Worker-1] ...
0
votes
0answers
5 views
show graphite invalid lines
I see lots of lines like this in my graphite logs:
01/10/2014 21:07:12 :: [listener] invalid line received from client HOST:PORT, ignoring
It would greatly help if I could see the invalid line. ...
0
votes
0answers
6 views
Set local log_errors destination in php not working
I have the following code:
ini_set("log_errors", 1);
ini_set("error_log", "home/sites/production/log/test.log");
phpinfo();
When I view the webpage phpinfo() shows the following:
...
0
votes
1answer
9 views
__android_log_print not printing from library
I have a NDK application which is made up of three parts (shared libraries):
A base library which among other things has some logging functions, these call __android_log_print
My game engine ...
0
votes
0answers
31 views
How to log client side events (javascript) to server side (java) [on hold]
In our AngularJS project we would like to log certain events and errors to our Backend. On the backend side we use Spring MVC on Tomcat.
What is a good approach for this? I am looking for something ...
0
votes
2answers
37 views
How to print out object properties within for-in loop?
I'm getting a list of objects from an API which looks like this:
{
"results": [
{
"date": "2014-09-25 19:00:00",
"title": "Hitjeskanon"
},
{
"date": "2014-09-25 ...
0
votes
2answers
39 views
Rust: Change the default log level
I'm developing a project in Rust that is meant to be used by systems administrators, via CLI.
In this program, I (would like to) have lines like these:
warn!("File {} not found, proceeding to next ...
-1
votes
1answer
22 views
Python Custom Logger [on hold]
I have actually got the steps to follow to create the custom logger from the below link:
Python: custom logging across all modules
But how do i actually store the logs in Mongodb and pull it and ...
2
votes
1answer
21 views
Where can I find the MySQL Logs in Yii Framework
I found this docs to enable the MySQL logging in the Yii Framework (my goal is it to improve the performance):
http://www.yiiframework.com/wiki/235/configuring-cweblogroute-for-db-profiling/
Where ...
0
votes
0answers
12 views
Log files get truncated with TimedRotatingFileHandler and Django
I have log handlers configured to rotate at midnight:
'request_handler': {
'level': 'DEBUG',
'class': 'logging.handlers.TimedRotatingFileHandler',
'when': 'midnight',
...
3
votes
1answer
20 views
How to print jaxb to java object in to logger
Hi by following the below link i am able to convert JAXB to java object and print it in console using below statement.
http://www.mkyong.com/java/jaxb-hello-world-example/
...
0
votes
1answer
10 views
jPOS logger :To add logger in packager
I am implementing ATM Simulator, which accepts ISO8583 msg from client and unpack it using jPOS library.
Error that has occured while unpacking my msg is : "error unpacking field 102: ...
2
votes
1answer
20 views
What means #some-number in Rails log?
I have log file in Rails 4.
Here is string.
I, [2014-09-30T19:16:23.434591 #6942] INFO -- : Completed 302 Found in 1176ms (ActiveRecord: 4.6ms)
What means number after DATETIME? #6942?
0
votes
1answer
21 views
How to Begin with a Custom Error log function in python [on hold]
I want to write a custom error log class, which would show me the errors returned by the code. I don't use google app engine, I use python tornado framework.
So can anyone guide me with steps to ...
0
votes
1answer
22 views
how to display logcat in text view in the other page?
i have question here.how to display log cat in text view on other page?
below shows the code for log cat.
try.java
Log.e("MENU A","Total Price: RM "+price);
price is a double ...
2
votes
1answer
22 views
Decrease ORMlite's internal log verbosity or disable it
We're doing some heavy performance tuning in our app, hence we start using method tracing to find the bottlenecks.
At first glance Ormlite was fine, but we found that for example in one query that ...
0
votes
1answer
14 views
Log4j2 Using class/logger name as a pattern for RoutingAppender
I am trying to set up individual logging files per class in a certain package. The closest solution I've found is to use the RoutingAppender and to have a special getLogger for those certain classes ...
1
vote
0answers
29 views
R namespace problems with 'logging' package
I'm writing an R package that uses the logging package from CRAN. In my code, I initialize logging when my package is loaded:
#' @importFrom logging basicConfig
.onAttach <- function(libname, ...
0
votes
0answers
12 views
How see logs in uwsgi (coro - gevent) - event loop?
I need see logs in the uwsgi-psgi event loop, in console or syslog.
It is the example:
websocket_chat.pl
for(;;) {
# here we block until an event is available
$w->recv;
...
0
votes
1answer
29 views
Display the feedback of SQL statements embedded inside PL/SQL block upon execution
I feel this is not such a moot requirement in an RDBMS database but am at a loss of a way of accomplishing it. When I run an ORACLE stored procedure, I want my console output to log not only that the ...
0
votes
1answer
20 views
What's the difference between System.Diagnostics.Trace, System.Diagnostics.Debug and System.Console?
As far as I understand, System.Console will write to STDOUT by default, but what about System.Diagnostics.Trace and System.Diagnostics.Debug? What are the default behaviors, and are they configurable ...
0
votes
1answer
15 views
Python logging threadName and multiprocessing.Process
I have a program that uses multiprocessing.Process object to spin off chunks of the program. I'm passing it a configured logger with the following formatter
formatter = logging.Formatter( ...
0
votes
1answer
9 views
Ip Log file_get_content()
I'm using the function file_get_contents("www.example.com");.
Now i want to know if the website www.example.com see the user ip or the serverip from the webpage?
1
vote
0answers
12 views
mrjob: setup logging on EMR
I'm trying to use mrjob for running hadoop on EMR, and can't figure out how to setup logging (user generated logs in map/reduce steps) so I will be able to access them after the cluster is terminated.
...
0
votes
1answer
14 views
Failover for elasticsearch and logstash
I was working to configure logstash and elasticsearch.
In my logstash config file output section.
elasticsearch {
codec => json_lines
cluster => "firstEsearch_cluster"
protocol ...
0
votes
0answers
9 views
Ruby on Rails Honeybadger integration does not work - kinda
I integrated honeybadger into my ruby on rails application. It all worked very well and also the rake test task works as intended. Afterwards I caused exceptions on purpose in order to 'populate' the ...
0
votes
0answers
9 views
How to Create Singleton Time Logger in jsUnity
I'm trying to create a script via jsUnity that logs how much time it takes for a process to complete.
I'm new to javascript and I'd appreciate if someone could tell me where I went wrong. The object ...
1
vote
2answers
26 views
Castle Windsor enable or disable interceptors during run time
Is it possible whilst an application (of any type e.g. console, web, web role in azure etc.) to switch castle windsor interceptors on or off to avoid an application restart?
My scenario is to use an ...
-2
votes
1answer
26 views
Read certain lines php and txt
Should I read a txt, up here we go, now how can I do so that it takes only the last 10 lines of writing?
example
if the txt I
hello 1
hello 2
hello 3
hello 4
hello 5,
I would like to print to ...
0
votes
1answer
22 views
Redirect only error of git command to a log file
I am writing a script that uses git fetch --all && git fetch --all --tags to fetch all the branches and tags of all the remotes.
What I want to do is, ignore/don't display fetching output, ...
0
votes
0answers
10 views
logging not happening in the log file in case of commons-logging is used in Weblogic 10.3.6
I was facing an issue while upgrading my application for WebLogic server where logging is not happening in the log file if i use commons-logging.
Root Cause:
It is happening because of the following ...
-1
votes
1answer
16 views
Display batch script output in a .txt file
I have this piece of code: For /R "C:\Test\" %%G IN (Downloads) do del /F /Q "%%G"
Which starts looking from C:\Test\ for the Downloadfolder and than empties it.
I'd like to log the process of the ...
0
votes
2answers
29 views
Control logging level by WebSphere admin console
I have a web application in which I am using java.util.logging. In my logging.properties files default level is info.
I have loggers in my application for all levels of logging (info, debug, fatal ...
-1
votes
0answers
18 views
Log correlation
We are using a ELK(ElasticSearch+Logstash+Kibana) stack, for out log management, but the problem is that kibana shows the stats of each component individually.
I want to have a correlation of events ...
0
votes
0answers
32 views
Django logging: request.user is inaccurate
I'm using Django logging to send the site admin an e-mail when an unhandled error occurs:
logger = logging.getLogger('feedback_error')
logger.exception('Feedback error: %s', request.path,
extra={
...
0
votes
0answers
19 views
OpenRtb bidder on Azure, is it real?
We are trying to build an OpenRtb bidder on Azure env. We use redis instances that deployed on Linux VM to store real time data (tracking keys, requests/bidwins counts, etc). We use WebApi based ...
0
votes
1answer
11 views
creating a log with append
need to create a log of messages where the message be saved along with the time.
I have this code, but the acresentar a new message is deleted the old and replaced by the new.
var textons = ...
0
votes
0answers
5 views
Log4qt: DailyRollingFileAppender not rolling over
I am new to log4j (well, specifically log4qt). I have implemented a DailyRollingFileAppender, and expected the file to be rolled over at the beginning of a new day - butthis does not seem to be ...
0
votes
0answers
10 views
PHP - logging with Monolog causes empty response to Android client
This is the first time I use Monolog to log some information to files. I am using the simple snippet of code below:
$logger = new Logger('my_logger');
$logger->pushHandler(new ...
0
votes
1answer
13 views
Reading the binary logfiles from mongodb
Our mongod process server has a specified --logpath paramter, /var/log/mongodb.
Inside that directory is the most recent logfile, mongodb.log which I can tail just fine to see the latest output. ...
0
votes
2answers
33 views
Logging best practices and thoughts
I'm about to do some refactoring off my app and I came to think about this simple yet complex topic, logging, how can it be so hard to do clean, effective and informative logging...
When you read ...