Hello,
thx for the hints but i guess it's a syslog issue but can anybody help me
to reinstall it with all default config files.........
I checked also for some special characters in the /etc/rsyslogd.conf but I
didn't find any issues.
As i said after boot messages in the syslog entries no more messages come
up....... ???? in General the syslog has entries but only from boot.

pi@pi-weewx:/var/log $ cat /boot/issue.txt
Raspberry Pi reference 2021-01-11
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen,
21090519d85bdaa1615d5d5057d37b09368ea5d2, stage5
pi@pi-weewx:/var/log $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/";
SUPPORT_URL="http://www.raspbian.org/RaspbianForums";
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs";

Can it have an issue with the install routines from weewx????
I following this one!:

-------

Prerequisites for Debian 10 (Buster), Raspbian 10, Ubuntu 18.04-19.10

sudo apt update

# Requiredsudo apt install python3-configobj
sudo apt install python3-pil
sudo apt install python3-serial
sudo apt install python3-usb
sudo apt install python3-pip

# This works for most installations...sudo apt install python3-cheetah
# ... if not, try this:sudo pip3 install Cheetah3

# Optional: for extended almanac informationsudo apt install python3-ephem

After installing the prerequisites, you can install WeeWX itself.

   1.

   Expand the source archive:

   tar xvfz weewx-X.Y.Z.tar.gz

   2.

   Change directory into the expanded archive:

   cd weewx-X.Y.Z

   3.

   To specify an install location different from the default /home/weewx,
   modify the parameter home in the setup.cfg file. Mac users will want to
   change it to /Users/Shared/weewx.
   4.

   Then build and install. Python 2 users: substitute python2 for python3.

   python3 ./setup.py build
   sudo python3 ./setup.py install


cd /home/weewx
sudo cp util/init.d/weewx.debian /etc/init.d/weewx
sudo chmod +x /etc/init.d/weewx
sudo update-rc.d weewx defaults 98
sudo /etc/init.d/weewx start

5. Status

Look in the system log for messages from WeeWX. For example, on Debian
systems:

sudo tail -f /var/log/syslog

--------

Also the output from your hints only journalctl is working..

pi@pi-weewx:/var/log $ ls -l
insgesamt 2864
-rw-r--r--  1 root root               126 Jän 20 16:38 alternatives.log
drwxr-x---  2 root adm               4096 Jän 23 00:00 apache2
drwxr-xr-x  2 root root              4096 Jän 22 22:47 apt
-rw-r-----  1 root adm                  0 Jän 21 00:00 auth.log
-rw-r-----  1 root adm              18427 Jän 14 16:12 auth.log.1
-rw-------  1 root root            167581 Jän 22 19:43 boot.log
-rw-r--r--  1 root root                 0 Jän 11 14:32 bootstrap.log
-rw-rw----  1 root utmp              3072 Jän 22 14:40 btmp
drwxr-xr-x  2 root root              4096 Jän 23 00:00 cups
-rw-r-----  1 root adm                  0 Jän 21 00:00 daemon.log
-rw-r-----  1 root adm             203740 Jän 14 16:12 daemon.log.1
-rw-r-----  1 root adm               9441 Jän 22 19:43 debug
-rw-r-----  1 root adm              25663 Jän 20 16:15 debug.1
-rw-r--r--  1 root root             30990 Jän 22 22:48 dpkg.log
-rw-r--r--  1 root root                 0 Jän 11 14:32 faillog
drwxr-xr-x  2 root root              4096 Feb  8  2019 firebird
-rw-r--r--  1 root root                 0 Jän 11 14:32 fontconfig.log
drwxr-xr-x  3 root root              4096 Jän 11 13:59 hp
drwxr-sr-x+ 3 root systemd-journal   4096 Jän 14 16:12 journal
-rw-r-----  1 root adm             284251 Jän 22 19:44 kern.log
-rw-r-----  1 root adm             623296 Jän 20 16:15 kern.log.1
-rw-rw-r--  1 root utmp            292292 Jän 23 08:21 lastlog
drwx--x--x  2 root root              4096 Jän 20 13:01 lightdm
-rw-r-----  1 root adm             274810 Jän 22 19:44 messages
-rw-r-----  1 root adm             602120 Jän 20 16:15 messages.1
drwx------  2 root root              4096 Jän 11 14:32 private
-rw-r-----  1 root adm                  0 Jän 23 00:00 syslog
-rw-r-----  1 root adm             284251 Jän 22 19:44 syslog.1
-rw-r-----  1 root adm              31249 Jän 20 16:15 syslog.2.gz
-rw-r-----  1 root adm             109457 Jän 14 18:44 syslog.3.gz
-rw-r-----  1 root adm                  0 Jän 21 00:00 user.log
-rw-r-----  1 root adm              13001 Jän 14 15:59 user.log.1
-rw-------  1 root root             11019 Jän 22 19:43 vncserver-x11.log
-rw-------  1 root root             11419 Jän 22 19:43 vncserver-x11.log.bak
-rw-rw-r--  1 root utmp            114816 Jän 23 08:21 wtmp
-rw-r--r--  1 root root             11667 Jän 20 13:09 Xorg.0.log
-rw-r--r--  1 root root             11667 Jän 20 13:01 Xorg.0.log.old

pi@pi-weewx:/var/log $ journalctl --unit=weewx | more
-- Logs begin at Fri 2021-01-22 17:21:37 CET, end at Sat 2021-01-23
08:36:05 CET. --
Jän 22 17:51:57 pi-weewx systemd[1]: Starting LSB: weewx weather system...
Jän 22 17:51:58 pi-weewx weewxd[715]: weewx[715] INFO __main__:
Initializing weewx version 4.3.0
Jän 22 17:51:58 pi-weewx weewxd[715]: weewx[715] INFO __main__: Using
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
                                       [GCC 8.3.0]
Jän 22 17:51:58 pi-weewx weewxd[715]: weewx[715] INFO __main__: Platform
Linux-5.4.83-v7+-armv7l-with-debian-10.7
Jän 22 17:51:58 pi-weewx weewxd[715]: weewx[715] INFO __main__: Locale is
'de_AT.UTF-8'
Jän 22 17:51:58 pi-weewx weewxd[715]: weewx[715] INFO __main__: PID file is
/var/run/weewx.pid
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO __main__: Using
configuration file /home/weewx/weewx.conf
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO __main__: Debug is 1
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG __main__:
Initializing engine
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.engine: Loading
station type FineOffsetUSB (weewx.drivers.fousb)
Jän 22 17:51:58 pi-weewx weewx[704]: Starting weewx weather system: weewx.
Jän 22 17:51:58 pi-weewx systemd[1]: Started LSB: weewx weather system.
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.drivers.fousb:
driver version is 1.20
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.drivers.fousb:
polling mode is PERIODIC
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.drivers.fousb:
polling interval is 60
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.drivers.fousb:
found station on USB bus= device=
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.engine.StdTimeSynch
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.engine.StdTimeSynch
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.engine.StdConvert
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.engine:
StdConvert target unit is 0x10
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.engine.StdConvert
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.engine.StdCalibrate
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.engine.StdCalibrate
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.engine.StdQC
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.engine.StdQC
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.wxservices.StdWXCalculate
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.manager: Daily
summary version is 3.0
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.wxservices.StdWXCalculate
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdWXXTypes
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdWXXTypes
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdPressureCooker
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdPressureCooker
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdRainRater
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdRainRater
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.wxxtypes.StdDelta
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.wxxtypes.StdDelta
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.engine.StdArchive
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.engine: Archive
will use data binding wx_binding
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.engine: Record
generation will be attempted in 'software'
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.engine: Using
archive interval of 300 seconds (software record generation)
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine: Use
LOOP data in hi/low calculations: 1
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.engine.StdArchive
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.restx.StdStationRegistry
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.restx:
StationRegistry: Station will be registered.
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.restx.StdStationRegistry
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.restx.StdWunderground
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.restx: WU
essentials: {}
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.restx:
Wunderground-PWS: Data for station IFLORIDS5 will be posted
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.restx.StdWunderground
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.restx.StdPWSweather
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.restx:
PWSWeather: Data for station KEFEDER521210 will be posted
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.restx.StdPWSweather
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.restx.StdCWOP
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.restx: CWOP:
Posting not enabled.
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.restx.StdCWOP
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.restx.StdWOW
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] INFO weewx.restx: WOW:
Posting not enabled.
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Finished loading service weewx.restx.StdWOW
Jän 22 17:51:58 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.engine:
Loading service weewx.restx.StdAWEKAS

pi@pi-weewx:/var/log $ logger -p user.debug "This is a debug message"

pi@pi-weewx:/var/log $ ls -l /var/log/syslog*
-rw-r----- 1 root adm      0 Jän 23 00:00 /var/log/syslog
-rw-r----- 1 root adm 284251 Jän 22 19:44 /var/log/syslog.1
-rw-r----- 1 root adm  31249 Jän 20 16:15 /var/log/syslog.2.gz
-rw-r----- 1 root adm 109457 Jän 14 18:44 /var/log/syslog.3.gz
pi@pi-weewx:/var/log $

Many THX Manfred


Am Fr., 22. Jan. 2021 um 23:24 Uhr schrieb vince <vinceska...@gmail.com>:

> Logging came up a couple weeks ago.
>
> On a pi there are two logfiles.  You might find entries in /var/log/syslog
> and/or in /var/log/messages depending on how you are configured.
>
> Back then Tom suggested trying:
> *    logger -p user.debug "This is a debug message"*
>
> On a pi running buster here that would put the entry in /var/log/syslog
> but 'not' into /var/log/messages.   Verified here on a buster pi.
>
> You can check your os version by looking at /etc/os-release and
> /etc/debian_version and the vintage of the Raspbian os you started with is
> in /boot/issue.txt if you wanted to check that.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/51e24e5e-f4b5-4899-8371-6f8586f78347n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/51e24e5e-f4b5-4899-8371-6f8586f78347n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CALNFVsjRKX44RkGggH1tMKKU3AizSNGvBGjYkbaQ9DYWceJOEQ%40mail.gmail.com.

Reply via email to