Questions tagged [log-files]

A log file is a file, often in clear text, which is generated by a software process to record some specific details about the workings of this process.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
56 views

Perl script to restart Apache in Windows

Is this all I need to restart Apache from within my Perl script? system("C:\\Apache24\\bin\\httpd.exe -k restart"); I tried to verify that this actually restarts Apache, but cant find my ...
MeSo2's user avatar
  • 220
1 vote
0 answers
17 views

LogStash and parsing OPNSenser logs

My logs are coming in as follows: <134>May 24 14:39:32 edge.internal filterlog[2535]: 78,,,ffe6d10d1f27a42fc0edc3abb3a6d333,ovpnc1,match,pass,out,4,0x0,,63,61951,0,DF,6,tcp,60,10.8.0.2,20.44.17....
Jason's user avatar
  • 3,881
0 votes
2 answers
121 views

apache remove wget for better security

Im no expert at IT or apache but I have used linux for years. Ive done my best to harden/secure my server online which I use for a mobile app which needs to serve up its content etc. Ive noticed some ...
Tim's user avatar
  • 203
0 votes
0 answers
82 views

How to restart a windows service when a log file has not been modified for a period of time?

I have a windows service and it's running a bit problematic. Sometimes it crashes or sometimes connection to the server is lost but it does nothing for it. Therefore, I have to check the logs of the ...
oktay's user avatar
  • 11
0 votes
0 answers
33 views

Trying to understand these apache log lines : 200 response followed by a 404 error for the same file

Looking at some logs from our apache server (2.4 on unbuntu 18.04) for one of our clients, and there are some lines that caught my eye and that I don't understand at all. I've been trying to explain ...
Yo_HanSolo's user avatar
0 votes
0 answers
6 views

pt-query-digest on large slowlog files runs slow - only singlethread

I have large slowlogfiles generated by percona 5.7 packed by zstd. Its for test, logging all queries, query time is set to 0s I need it process quickly than in 12 hrs :) The pt-query-digest is ...
Petr Schönmann's user avatar
0 votes
0 answers
31 views

Is it safe to delete folders/files under run/log/journal (not var/log/journal)?

I'm running CentOS in EC2 and I saw this post but my path is run/log/journal and not var/log/journal. And there're two folders under journal - e76430a3b6eb....d3d1dc73 and b30d0f2110ac....3ce88f So, ...
xesoh43966's user avatar
0 votes
0 answers
56 views

favicon.ico in referer field in access.log

There is this line in my nginx access.log: 54.201.239.190 - - [18/Dec/2022:22:34:56 +0100] "GET / HTTP/1.1" 200 64 "http://example.com/favicon.ico" "Mozilla/5.0 (X11; Linux ...
archygriswald's user avatar
0 votes
1 answer
127 views

Import past log files into Sentry

We're exploring sentry.io Is it possible to import historical logs into Sentry? We're also looking at Prometheus and Grafana, and it looks like general SQL queries work for them, but it seems to me ...
J. Gwinner's user avatar
1 vote
1 answer
245 views

How to trace/find "lost" emails with log files and doveadm?

One of my clients is missing some emails and I try to find what is going on, but my knowledge is limited. Have asked the server support guys, but they say all is fine and attach just the logs (which I ...
Sam's user avatar
  • 25
0 votes
0 answers
63 views

why does my slapd.log file isn't created?

I'm setting up an ldap server to log the user in my association. My client connect using sssd and I would like to enable the logs on my server side. I followed this article bug my /var/log/slapd.log ...
lolozen's user avatar
  • 101
0 votes
1 answer
47 views

Is PHP's error_log dependent on the OS, config file or something else?

I have two HTTP servers: Live LAMP server. Local WAMP server. When an error occurs on the live server PHP will generate an error_log file in the directory of where the script error occurred. The ...
John's user avatar
  • 134
0 votes
1 answer
212 views

which entries in the auth.log could be dangerouse and which not

which kind of entries in the auth.log are not good or from which one should i been scared? Oct 3 05:00:01 webv2 CRON[25757]: pam_unix(cron:session): session opened for user www-data(uid=33) by (uid=0)...
wtf_1x's user avatar
  • 3
0 votes
0 answers
251 views

Nginx+Passenger error log, Checking whether to disconnect long-running connections for process

I found these errors in my Nginx error logs. I use a dedicated server (Ubuntu) with 2 websites/apps (running also a sync engine with APIs) [ N 2022-10-21 11:40:55.2857 5800/T3 age/Cor/CoreMain.cpp:...
alex.bour's user avatar
  • 111
0 votes
0 answers
71 views

how to umount or remount /var/log on running system?

I experience filesystem problems on the filesystem where my /var/log is bound. I wanted to umount it or remount to another location in order to check and repair it. Unfortunately, there are many open ...
ardabro's user avatar
  • 187
0 votes
1 answer
101 views

What do the numbers after the HTTP/1.1 or HTTP/2.0 status codes signify?

What are the numbers after the 200, 300, ... status codes and how can I find information about those numbers? For example the numbers 2176, 30125 and 6566 below: 62.240.134.168 - - [04/Oct/2022:09:27:...
trash2's user avatar
  • 33
-1 votes
2 answers
287 views

ESXi rotate logfiles by hours

ESXI: 70u2 Hi, I can't found "/etc/logrotate.conf", I understand he don't exist in this version. In the file "/etc/vmsyslog.conf" I can specify some options, the split by size has ...
CH06's user avatar
  • 13
1 vote
0 answers
171 views

Why are docker container logs sent from ec2 to cloudwatch in batches using awslogs driver?

I have three docker containers running; server, proxy server and a daemon checking for changes between two databases. I've used docker-compose and an ec2 instance for testing. I would like to stream ...
Oliver Burdekin's user avatar
0 votes
1 answer
20 views

Way to save apache losgs with IP Info

i use this command to live see apache logs: sudo tail -f /var/log/apache2/access.log I use a Ubuntu 18 VPS wich i have root access. this logs are also saved to the access.log file true? (because when ...
Diego's user avatar
  • 1
0 votes
1 answer
180 views

Can't get dumpio on Apache 2.4 Oracle Linux 8.6 php 8

I can't get dumpio to log POST request data. httpd.conf: ... Include /etc/httpd/conf/httpd-le-ssl.conf ... No LogLevel or dumpio related stuff in there. httpd-le-ssl.conf: <virtualHost *:443> ...
jamacoe's user avatar
  • 173
0 votes
1 answer
101 views

Can I see a printer's log about who connected to a network printer?

There's been a problem at work about a given printer that you have to connect to using a printers' server. I don't control the server itself, but if there's a log that I can require to the server ...
newbie's user avatar
  • 101
2 votes
2 answers
446 views

mariadb cant turn on error_log

I want to turn on error logging for mariadb to resolve "unable to connect to database" errors I can turn on General Log and Slow Query Log in mariadb no problem. However when I restart ...
stevlav's user avatar
  • 21
0 votes
1 answer
199 views

How to log PHP file name in Apache log?

I'm using Apache 2 + PHP 8, and have PHP warnings and errors written in Apache error log files. Here is an example of logs being written: [Wed Aug 10 08:15:54.502158 2022] [php:warn] [pid 15437] [...
Nicolas Leroy's user avatar
0 votes
0 answers
13 views

How to extract multiple entries from Windows "configuration manager trace log tool"?

seems like you can only use "copy to clipboard" for individual line items. How can I copy or extract a few hundred lines?
adolf garlic's user avatar
0 votes
1 answer
294 views

Samba Server Doesn't logging

I'm trying to logging with Windows in a Samba Server, but it does not connect. When I look in the logs it gives me the message [2022/07/20 08:35:19.749737, 0] ../lib/param/loadparm.c:1844(...
Anderson Silvestre's user avatar
0 votes
1 answer
753 views

Centos 7.8 /var/log/messages fills the disk

I have a VM that works on the Azure cloud. It is Centos 7.8. The problem which I have is related to the /var/log/messages file. It works for several days without an issue. Then, the "messages&...
Safak Serdar Kapci's user avatar
0 votes
1 answer
698 views

Two separate access.log files with different format

Is it possible to have two separate log files, each saving logs with different format? For example, will something like this work? events{} # See blow link for Creating NGINX Plus and NGINX ...
Kosmylo's user avatar
  • 125
0 votes
0 answers
42 views

Email admin scripts

I have been working on scripts to help me administer email servers. This works pretty well on Postix/Debian server to search logs for sent emails. You can even use grep to search the reasults ie. /...
SamTzu's user avatar
  • 23
0 votes
0 answers
473 views

How to disable "not found or unable to stat" logging?

The error log of apache2 (with php7.4 enabled) has many entries from script kiddies scanning for vulnerabilities. Is there a setting to prevent this from being logged, while still logging other errors?...
Victor's user avatar
  • 361
0 votes
0 answers
140 views

Apache logs AWS EC2

I'm new to AWS and just created an AWS EC2 instance using Ubuntu to host a website. The website is up and running but whenever I got in /var/log/apache2 to view the access.log file, it shows the ...
itsTed's user avatar
  • 1
2 votes
3 answers
5k views

How to truncate the log file size without losing recent logs?

I want to reduce the log file size to the particular minimum size I tried the truncate command as below $ truncate -s 20M log filename But when I check the truncated file it truncates the recent logs ...
jayaprakash R's user avatar
0 votes
1 answer
84 views

Is it possible to pad columns in nginx access/error logs?

I've recently enabled ipv6 on my site, and while I don't often have a need to manually look at an access_log file, on the occasion that I do it's now very jarring that my first (IP) column is ...
Codemonkey's user avatar
  • 1,056
2 votes
1 answer
1k views

How to limit log size on Elastic beanstalk with Corretto 8/Amazon Linux 2 platform?

We recently migrated one of our applications to the "Corretto 8 running on 64bit Amazon Linux 2/3.2.12" platform. Now we're seeing the issue that the log files are filling up our disk volume ...
UncleBob's user avatar
  • 237
1 vote
0 answers
909 views

Nginx Error logs: [error] open() "/etc/nginx/html/status/" failed (2: No such file or directory), client: 127.0.0.1, server: 127.0.0.1

I am running an Ubuntu based LEMP server with the Nginx's google pagespeed, fastcgi, and modsecurity modules active. I am going through my Nginx error logs, and cannot figure out what these errors ...
DanRan's user avatar
  • 113
0 votes
1 answer
2k views

How to properly configure a custom logrotate configuration file?

For the first time today, I am trying to write a configuration file for logrotate. When I restart the logrotate service, I get the following error: logrotate.service: Failed with result 'exit-code'. ...
theirman's user avatar
0 votes
2 answers
2k views

nginx reverse proxy 404 with two servers

I have a problem with my NGINX configuration. I have two webservers running on windows servers. Which one is called from outside with 443 and then should be forwarded to the server with 41001. The ...
Cyanmodex9's user avatar
0 votes
1 answer
177 views

does remote logging stops local logging

I'm using a Graylog server to centralize logs from network equipment and servers and I'm wondering if the Syslog service on the switches, windows machines, and other equipment, that service still ...
Retro_0's user avatar
1 vote
1 answer
344 views

How to remove Exchange log files?

How to remove Exchange log files? These files really eat up my storage.
ComputerBas's user avatar
0 votes
1 answer
512 views

php-fpm & Apache 2 - analysing PHP Message: logs

One of my servers has recently been switched to using php-fpm. The error logs now log 404's in a new format: [Sun Dec 26 00:11:37.827426 2021] [proxy_fcgi:error] [pid 25239:tid 140600822003456] [...
steve's user avatar
  • 153
2 votes
1 answer
137 views

How to view and interact with terminal logs generated by AWS ECS

How do people view and interact with terminal logs generated by AWS ECS? I've been using the ECS task view so far, but I feel the UX is bad and the Cloudwatch UI has similar problems. How do others ...
Kurru's user avatar
  • 155
0 votes
0 answers
106 views

Why Would a Log File Get Cut Off When Emailed?

I am setting up some local backups of AWS EC2 instances. The backups are set to run overnight via Windows Server 2012 R2 Task Scheduler. The basic flow of each backup is that an rsync copies the ...
Neil Wehneman's user avatar
1 vote
0 answers
184 views

lastb/btmp does not work and is empty

I tried to clean the lastb/btmp and last/wtmp with cat /dev/null > /var/log/wtmp cat /dev/null > /var/log/btmp and then, I found the last/wtmp works as normal, but the lastb/btmp does not work, ...
Imes's user avatar
  • 11
1 vote
1 answer
671 views

WordPress MYSQL DB BINARY LOG - Droplet/SERVER Volume Increasing rapidly

My WordPress website uses Nginx. Recently I have noticed that server volume has increased from 8GB to 40GB. I have found that the WordPress MYSQL Binary Log is taking more space. Each second, database ...
 Ibrahim EL-Sanosi's user avatar
0 votes
1 answer
1k views

is it possible to use zabbix log[] key with zabbix_agent2

I have zabbix server 5.4.4 on my linux ubuntu 20.04 Also on my client machine i have installed zabbix_agent2 for 5.4.4 ( there is no zabbix_agent 1 running nor installed ) And zabbix_sender 5.4.4 Im ...
Philip Scot's user avatar
1 vote
1 answer
894 views

Splunk splitting multi-line log events by date

I have a mostly default Splunk config that is properly splitting most of my log messages from a standard Java application. We don't override any of the defaults concerning line breaks, line merging, ...
Chris Williams's user avatar
0 votes
0 answers
621 views

Delay in NFS Client file Updation in NFS Server

We have an NFS server and our custom board which is our NFS Client. We are generating a log file as part of our custom application. This log file is getting generated in the root file system of the ...
Aparna's user avatar
  • 1
7 votes
1 answer
2k views

Apache2 access.log has multiple lines that say "combine"

I'm running an Apache2 webserver on Ubuntu 20.04.2 LTS. I noticed that my access.log has several lines that simply say combine on them, with no information about the request or anything else. There ...
Noah Broyles's user avatar
0 votes
2 answers
97 views

How to delete specific files? [duplicate]

I'm running Ubuntu 20.04. I have a directory with million of files named like this master-stdout.log.20210801.024908 master-stdout.log.20210801.025524 master-stdout.log.20210801.064355 How can I ...
TravelWhere's user avatar
0 votes
1 answer
374 views

Change the BIND query log file destination

I am trying to change the file that my BIND server stores query logs from the messages file in /var/log/messages to /var/log/named/named.log. When I restart the BIND service, for the changes to take ...
thecomputerguru's user avatar
0 votes
1 answer
591 views

Is there a (forensic) way to list past events/actions of a certain *.exe malware program (PUP-Proxygate, possibly a Trojan)?

There is a folder with suspicious *.exe files on a Win 10 PC, and there are (external) protocols of potentially unlawful actions coming from that PC at a certain time in the past. The first suspicious ...
David.P's user avatar
  • 119

1
2 3 4 5
22