Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [logfiles]

logfiles record events occurring in the operating system, its services, and other running software. Interpreting logfiles is important to diagnose problems.

0
votes
2answers
32 views

Creating symbolic link in RASPBIAN (reduce I/Os on memory card)

I'm doing this to reduce I/Os on memory card of raspberry pi. I want to redirect logs under /var/log to a mounted external drive. I am using following commands in the stated order to create the links. ...
1
vote
0answers
34 views

How do I create a log for results of lftp run in a script

Sorry if this is a simple one to solve. I'm very much and old-newbie and need some hand holding. Please be gentle with me. I have a shell script that manipulates an image and then uploads it every 5 ...
1
vote
0answers
103 views

pi zero w + piCore without keyboard and monitor = cannot connect to wifi

I am new to raspberry pi, I would like to set up a tinycore os. I do not have a keyboard nor a monitor that I can connect through HDMI. So I'm trying to autoconnect to the wifi so that I can ssh. But ...
2
votes
1answer
170 views

Simplest way of finding total network traffic over network adapter?

I would simply like to know how many MB the Pi sends/receives in a day. What's the easiest way to do this? I'm using the built in Ethernet adapter. I've tried searching but surprisingly haven't found ...
1
vote
1answer
62 views

Skip writing (frequent) warnings to log files

My Raspberry PI (running Raspbian Stretch) works 24/7 and many of writings are work in RAM disk (not on SD cards). But there are some unnecessary warnings which are frequently written to log files. I ...
-1
votes
3answers
2k views

Accessing the system log on Raspbian

How do I access the system logs in current versions of Raspbian? Where are these logs stored?
3
votes
1answer
506 views

logging data when using crontab

Edits: added comments to code. I am running a small .py script on my Raspberry Pi with a DHT11 sensor and 3 LEDs. I am starting the program on boot with crontab, and everything is running fine apart ...
1
vote
1answer
89 views

Pi 3 running windows core freezing

I have a system working 24/7 which behaves itself most of the time (days) running a simple browser app (Kiosk to single web app) in IOTstartup over WiFi. Is there a way I can get at any error ...
0
votes
0answers
114 views

Was my Raspi hacked?

I was using my Raspi 3B as a home temperature station and astrophotography module. However, 18th of January it just stopped working. Couldn't connect to the network and also some of the commands were ...
0
votes
0answers
64 views

Raspbian Stretch Lite boot log?

Does Raspbian boot creates a boot log that can be accessible from the SD Card from some other system like Windows 7, just to know why it failed and what is missing. Did anyone tried with any windows ...
0
votes
1answer
102 views

Jessie: How do I make cron create its own log file so it can be monitored in real time?

I know that cron events are stored in /var/log/syslog and I can use a command like: sudo cat /var/log/syslog | grep cron to see them. I'd much rather have the system keep a separate cron log file ...
0
votes
3answers
2k views

How to make active wifi scanner with Pi [closed]

I am looking for developing a device based on Rasp pi3 which can detect wifi probe requests with logging device spec data such as MAC, SSID and timestamp Any help??
0
votes
0answers
56 views

Store MAC address in raspberry pi access log

Is there a way to have a raspberry pi capture and store the MAC address in its access log? Right now it only stores the IP address which changes with each new connection to the raspberry pi. I know ...
1
vote
1answer
1k views

How to stop dhcp logging to /var/log/syslog and messages?

I have installed isc-dhcp on Jessie. It works. However, I noticed it logs to three log files in /var/log/: syslog messages dhcp.log I'd like to keep dhcpd to log to dhcp.log and stop it from logging ...
5
votes
1answer
1k views

Log undervoltage

So I have a pi running Kodi, when it's in trouble it gives a powerbolt on the screen. Great. Now I know. Secondly I have a pi as a webserver headless 100% of the time. How can I log/see if it suffers ...
0
votes
0answers
148 views

Where is the epiphany browser history?

I am running a Epiphany on Raspberry Pi 2 and I would like to check the browser history. Where is the epiphany browser log? Do I Have to enable it somewhere? If doesn't exist, how can I create it?
6
votes
4answers
14k views

How can I reduce the writing to log files

A common worry of Raspberry Pi users is the wearing out and destruction of their SD card (which have limited write cycles) by too many writes. The experience reported by users supports this assumption....
4
votes
1answer
615 views

Monitor a log file in real time, and do something. How?

I want to monitor a log file (omxd log file) in real time, and execute some commands when some sentences appear in the log. I searched this site (and many other sites) and these are what I tried: ...
0
votes
1answer
608 views

Is there a way to log CPU load?

I need to examine how my CPU is performing. I could simply open the task manager, but I will have to sit in front of the monitor long time. My problem is that CPU seems to be spiking or overloading ...
6
votes
1answer
5k views

How to disable or shutdown NTP daemon?

I am running PI 3 as a standalone system. Therefore, it won't have internet connection and pi's date and time is manually set and Real Time Clock chip is used to keep the pi's date/time current. It ...
3
votes
0answers
377 views

Can consolekit sefely be removed, when running headless (no GUI)?

Lately I am getting a lot of the following messages in my /var/log/syslog: Aug 26 07:48:20 raspberrypi console-kit-daemon[2376]: GLib-CRITICAL: Source ID 42 was not found when attempting to remove it ...
3
votes
1answer
78 views

rpi kind of turns off (not accessible by ssh / vnc, red light on), var/log with regulatory domain

I am using a rpi3 with an external usb disk and a 3A power source, but the system seems to turn off after 1-2 days of normal use. I know that because I cannot access it (ssh or vnc), but there is a ...
2
votes
2answers
4k views

What is “action 17”?

I was looking in /var/log/syslog for other reasons and i saw that it said: May 23 06:25:54 raspberrypi rsyslogd0: action 'action 17' resumed (module 'builtin:ompipe') [try http://www.rsyslog.com/e/0 ]...
1
vote
1answer
331 views

Who owns /var/log/tor logs? Can`t start tor

I compiled and installed tor on minibian. All I must do now is to start tor with tor. But all I get is Mar 15 16:51:36.713 [notice] Tor v0.2.7.6 running on Linux with Libevent 2.0.21-stable, OpenSSL ...
3
votes
2answers
528 views

Log correct boot time

I have a Raspberry Pi 2 Model B that I use as a mini server and I'd like to get an accurate reading of the times the system is switched on. The problem is not the shutdown times, which are logged ...
2
votes
1answer
654 views

Data logging during power loss

My Raspberry Pi, model B, is going to be sent up on a hydrogen balloon to collect data on some solar panels. I've written a python script to collect data from these panels using 3 INA219s connected to ...
0
votes
1answer
77 views

Pi loses connectivity and stops running scripts after a few hours

After a few hours unattended, powered by a spare microUSB phone charger, my pi loses connectivity and stops running scripts, which don't depend on internet connectivity. An example of a process/...
2
votes
1answer
11k views

cron not running @reboot command

@reboot commands are not being run from cron. I verified this with grep cron /var/log/syslog which showed Jul 25 16:17:01 picam2 /USR/SBIN/CRON[4487]: (root) CMD ( cd / && run-parts --...
3
votes
1answer
152 views

Resource Monitoring

I am currently running Kali on RPI B. I want to see how well it is resourced in practice as an IDS. I am looking for a reliable method of logging in readable format: CPU % usage every second Disk % ...
2
votes
1answer
734 views

Logging Clients (and sites they visit) while using Raspberry PI as WLAN Hotspot

I have recently setup my Raspberry PI as a WLAN hotspot using this guide. Everything works as intended I can login to the hotspot with my smartphone or laptop and browse the internet. Now my question ...
1
vote
0answers
139 views

Did my Pi lockup or was it halted?

I couldn't connect to my Pi this morning until I turned it off and on again. I did this at around noon, didn't record the exact time, thereafter it connected via ssh. My sys.log state: Sep 18 23:...
3
votes
2answers
117 views

Problems booting, any way to log this to a file?

Is there any way to capture the log of the boot process you see on screen to a file on the FAT partition when it's not getting to the point of booting from the root fs?