Questions tagged as 'log'

2
answers

Does Eclipse LogCat for Android display Log messages?

public void ImprimeLog(){ Log.i("Funcionando",""); Log.e("Funcionando",""); Log.v("Funcionando",""); Log.w("Funcionando",""); Log.d("Funcionando",""); } In Android Studio it works, but in Eclipse it...
asked by 30.06.2015 / 21:51
1
answer

configure SLF4J with log4j

I have a somewhat confusing problem but I will try to explain, I am working on a project that is using some external libraries, and I would like to implement a log, I have already seen that in the external packages they use the SLF4J package. So...
asked by 13.07.2015 / 16:02
1
answer

How to work with Log in Java? [closed]

I need to make a condition based on the Log of my Java project. Ex: Enquanto(TextoDoLog == "PalavraTal"){ faça algo; } But I do not know if I have to create some class, or method, how to handle it.     
asked by 25.07.2017 / 17:47
1
answer

RoR - Get the strong controller parameters inside the Application Controller

I'm developing a logging process on my system (Rails 5), more specifically within application controller . This process is being created there so that I can add a before_save to the controllers that I want to record logs. Sin...
asked by 30.10.2017 / 18:30
1
answer

ELK + REDIS - Duplicating data

Talk to people, I need a help ... I have the following Logstash configuration files: agent.conf input { log4j { type => "bdj" port => 25827 } } filter{ json{ source => "message" } } output {...
asked by 20.05.2016 / 23:48
2
answers

How to write the date and time of an error in the Django log?

I started a project in Django 1.4, and every mistake I made via try..except I printed in sys.stderr - making it fall into the same Apache log file (error.log). It worked, but only for the errors that I explicitly took, and in addit...
asked by 03.10.2016 / 20:28
1
answer

How to use the ob_flush () function to return data to browser animatedly?

I need a help, I have an email system, I need to know what is going on in the backend process a log that returns to the browser, when triggering script, example I want to send email to 2 people. When an email is sent it returns a echo '1...
asked by 16.02.2016 / 20:07
1
answer

How to create bookmark in logback?

Hello I'm trying to create a bookmark inside my logback appender and I could not. My code is <appender name="ErrorFile" class="ch.qos.logback.core.rolling.RollingFileAppender"> <!-- Support multiple-JVM writing to the same lo...
asked by 03.02.2016 / 22:33
1
answer

Error log by INI and in script

I have my error handling using the set_error_handler, set_exception_handler, register_shutdown_function functions, where I debug and write the error message with detailed information and in the PHP.INI enabled line: error_log = C:\we...
asked by 10.10.2014 / 05:58
1
answer

View Log with TYPE command

I'm using the type command to display a point log in the company, but it does not show the contents of the entire log, just the last lines. type C:\PASTA\LOG-TESTE.log @echo off pause The parameter | MORE in the type command does not wo...
asked by 19.09.2018 / 15:05