Questions tagged [Logging] (195)

1
answer

FluentD. How to send log files via https?

Gentlemen, welcome. Configure sending logs to ES c Kibana. Logs will be send in the form for packages over https to the host with FluentD. After that, Fluent their forwardit on the host with Elastic and Ciboney. On the same host which is also FluentD logs "will" and ES locally pack. Question configu FlunetD, can someone fac...
dejah asked April 19th 20 at 11:58
2
answers

How to collect all server logs into one?

How to collect all server logs into one? And then pass in each section and are looking for apache nginx exim logs it.d.
jada.Breitenberg asked April 18th 20 at 13:16
2
answers

Samba problems logging write, pwrite, read, pread, rename to what could be the problem?

Hello samaba 4.9.5 faced the following problem: in the log events are not written write, pwrite, read, pread while all the others have the following config [обменник1] comment = share directory inherit acls = yes inherit owner = yes path = /storage/Обменник1 inherit permissions = yes hide unreadable = yes writeable = yes...
ara.West asked April 18th 20 at 12:54
1
answer

That means in the log [COMMAND=/usr/lib/update-notifier/package-system-locked]?

I saw in the logs such sapsi: Apr 8 04:23:18 user1000 pkexec[7363]: pam_unix(polkit-1:session): session opened for user root by (uid=1000) Apr 8 04:23:18 user1000 pkexec[7363]: user1000: Executing command [USER=root] [TTY=unknown] [CWD=/home/user1000] [COMMAND=/usr/lib/update-notifier/package-system-locked] help to explai...
gregg asked April 18th 20 at 12:34
2
answers

Why logging.log.warning does not give the office down the call stack?

def do_smth(): if condition: logging.log.warning("text") print('test') Do not prompt, why does print('test')?
Lavern.Kutch asked April 9th 20 at 10:33
1
answer

How to configure the logger and to introduce dependence?

Hello! My project has many classes that perform certain tasks. There was a need to log. Some classes have to write logs to a file, others send according to a specific Protocol, or simultaneously in several sources. For this I chose the Monolog library that solves my problem with the entry in the logs. The problem is archi...
Marjorie.Johnson asked April 8th 20 at 10:20
3
answers

How to transfer logging of the imported modules in main program?

There is a module conMySQL which will connect to MySQL and generates SQL query. the output dictionary. In the main program MyProg conMySQL I import and use it. In the basic program MyProg to log errors using the logging module to write to a file. In both MyProg and conMySQL imported module logging As the basic program MyPro...
Adonis94 asked April 8th 20 at 10:13
1
answer

What method can map the coordinates of the pressed sensor and buttons in the interface?

There are samobytnoe ON in C++. It turns on the information terminal with Linux. There is a problem: sometimes it happens that users complain that they clicked on the screen the "right" figure, and in the input field napisales "wrong". The user did not notice it and the problem went further. Sensor calibration the monitor d...
julius_Kunde3 asked April 8th 20 at 02:58
0
answer

Is it possible to send the log?

Good afternoon. This: Event log["%windir%/Software_name/Logs/log.txt","ERROR",100] Reads the log and looks for error's Triger {Software Services:log["%windir%/Software_name/Logs/log.txt,"ERROR",100].str(ERROR,30)}=1 and {Software Services:log["%windir%/Software_name/Logs/log.txt","ERROR",100].nodata(35)}=0 Triggered by the ...
Joanne asked April 8th 20 at 02:57
1
answer

How to do log rotation for nginx?

The task is the following: this is the basic version that comes with the web server for archiving logs. spoiler/var/log/nginx/*.log { daily missingok rotate 14 compress delaycompress notifempty create 0640 www-data adm sharedscripts prerotate if [ -d /etc/logrotate.d/httpd-prerotate ]; then \ run-parts /etc/logrotate.d/...
Keenan asked April 8th 20 at 02:50