1. What is in your log? For example,

tail -n 50 /var/log/syslog

2. Make sure rsyslog is running

ps aux | grep rsyslogd


On Fri, Jan 22, 2021 at 12:40 PM Manfred Nadymacek <nady2...@gmail.com>
wrote:

> I check the file /etc/rsyslogd
>
> and compare it with original:
> https://gist.github.com/anakuron/1b772fb743c45c9b685f9a156810be97
>
> no difference found.
> Some ideas why weewx don't log in syslog
>
> thx
>
>
>
> Manfred Nadymacek schrieb am Freitag, 22. Januar 2021 um 19:27:48 UTC+1:
>
>> Hello,
>> Nothing is logged in /var/log/syslog also not the starting.
>>
>> Here my /etc/rsyslog.conf
>> pi@pi-weewx:/var/run $ cat /etc/rsyslog.conf
>> # /etc/rsyslog.conf configuration file for rsyslog
>> #
>> # For more information install rsyslog-doc and see
>> # /usr/share/doc/rsyslog-doc/html/configuration/index.html
>>
>>
>> #################
>> #### MODULES ####
>> #################
>>
>> module(load="imuxsock") # provides support for local system logging
>> module(load="imklog")   # provides kernel logging support
>> #module(load="immark")  # provides --MARK-- message capability
>>
>> # provides UDP syslog reception
>> #module(load="imudp")
>> #input(type="imudp" port="514")
>>
>> # provides TCP syslog reception
>> #module(load="imtcp")
>> #input(type="imtcp" port="514")
>>
>>
>> ###########################
>> #### GLOBAL DIRECTIVES ####
>> ###########################
>>
>> #
>> # Use traditional timestamp format.
>> # To enable high precision timestamps, comment out the following line.
>> #
>> $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
>>
>> #
>> # Set the default permissions for all log files.
>> #
>> $FileOwner root
>> $FileGroup adm
>> $FileCreateMode 0640
>> $DirCreateMode 0755
>> $Umask 0022
>>
>> #
>> # Where to place spool and state files
>> #
>> $WorkDirectory /var/spool/rsyslog
>>
>> #
>> # Include all config files in /etc/rsyslog.d/
>> #
>> $IncludeConfig /etc/rsyslog.d/*.conf
>>
>>
>> ###############
>> #### RULES ####
>> ###############
>>
>> #
>> # First some standard log files.  Log by facility.
>> #
>> auth,authpriv.*                 /var/log/auth.log
>> *.*;auth,authpriv.none          -/var/log/syslog
>> #cron.*                         /var/log/cron.log
>> daemon.*                        -/var/log/daemon.log
>> kern.*                          -/var/log/kern.log
>> lpr.*                           -/var/log/lpr.log
>> mail.*                          -/var/log/mail.log
>> user.*                          -/var/log/user.log
>>
>> #
>> # Logging for the mail system.  Split it up so that
>> # it is easy to write scripts to parse these files.
>> #
>> mail.info                       -/var/log/mail.info
>> mail.warn                       -/var/log/mail.warn
>> mail.err                        /var/log/mail.err
>>
>> #
>> # Some "catch-all" log files.
>> #
>> *.=debug;\
>>         auth,authpriv.none;\
>>         news.none;mail.none     -/var/log/debug
>> *.=info;*.=notice;*.=warn;\
>>         auth,authpriv.none;\
>>         cron,daemon.none;\
>>         mail,news.none          -/var/log/messages
>>
>> #
>> # Emergencies are sent to everybody logged in.
>> #
>> *.emerg                         :omusrmsg:*
>>
>>
>>
>> I see only something when i do:
>> /etc/init.d/weewx status
>> pi@pi-weewx:/home/weewx $ sudo /etc/init.d/weewx status
>> ● weewx.service - LSB: weewx weather system
>>    Loaded: loaded (/etc/init.d/weewx; generated)
>>    Active: active (running) since Fri 2021-01-22 17:51:58 CET; 1h 35min
>> ago
>>      Docs: man:systemd-sysv-generator(8)
>>   Process: 704 ExecStart=/etc/init.d/weewx start (code=exited,
>> status=0/SUCCESS)
>>     Tasks: 5 (limit: 2063)
>>    CGroup: /system.slice/weewx.service
>>            └─719 /usr/bin/python3 /home/weewx/bin/weewxd --daemon
>> --pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
>>
>> Jän 22 19:26:24 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.manager:
>> Daily summary version is 3.0
>> Jän 22 19:26:24 pi-weewx weewxd[719]: weewx[719] INFO
>> weewx.cheetahgenerator: Generated 2 files for report SteelSeries in 0.17
>> seconds
>> Jän 22 19:26:24 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.manager:
>> Daily summary version is 3.0
>> Jän 22 19:26:25 pi-weewx weewxd[719]: weewx[719] INFO
>> weewx.imagegenerator: Generated 11 images for report SteelSeries in 0.93
>> seconds
>> Jän 22 19:26:25 pi-weewx weewxd[719]: weewx[719] DEBUG
>> weewx.reportengine: Running report 'StackedWindRose'
>> Jän 22 19:26:25 pi-weewx weewxd[719]: weewx[719] DEBUG
>> weewx.reportengine: Found configuration file
>> /home/weewx/skins/StackedWindRose/skin.conf for report 'StackedWindRose'
>> Jän 22 19:26:25 pi-weewx weewxd[719]: weewx[719] DEBUG weewx.manager:
>> Daily summary version is 3.0
>> Jän 22 19:26:25 pi-weewx weewxd[719]: weewx[719] INFO
>> user.stackedwindrose: Generated 1 images for StackedWindRose in 0.20 seconds
>> Jän 22 19:26:25 pi-weewx weewxd[719]: weewx[719] DEBUG
>> weewx.reportengine: Report 'FTP' not enabled. Skipping.
>> Jän 22 19:26:25 pi-weewx weewxd[719]: weewx[719] DEBUG
>> weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
>>
>>
>> Thx
>>
>>
>>
>>
>>
>>
>> Am Fr., 22. Jan. 2021 um 19:20 Uhr schrieb Tom Keffer <tke...@gmail.com>:
>>
>>> 1. Is anything at all being logged from weewx? Or, is the problem that
>>> DEBUG messages are missing?
>>> 2. You may have an error in the configuration for your system logging.
>>> What is in /etc/rsyslog.conf?
>>>
>>> On Fri, Jan 22, 2021 at 10:08 AM Manfred Nadymacek <nady...@gmail.com>
>>> wrote:
>>>
>>>>
>>>> Hello,
>>>> I installed on new Rasberry lastest Rasbian buster release with the
>>>> lastest 4.3 weewx version with python3 option.
>>>>
>>>> All work fine but altough i do debug = 1 in weewx.conf i see nothing
>>>> logged in /var/log/syslog
>>>>
>>>> I' not a Linux expert but under Sketch release it works fine.
>>>>
>>>>
>>>> # Set to 1 for extra debug info, otherwise comment it out or set to zero
>>>> debug = 1
>>>>
>>>> # Root directory of the weewx data file hierarchy for this station
>>>> WEEWX_ROOT = /home/weewx
>>>>
>>>> # Whether to log successful operations
>>>> log_success = True
>>>>
>>>> # Whether to log unsuccessful operations
>>>> log_failure = True
>>>>
>>>>
>>>> Is there any general missing in Linux (python3 setting or something
>>>> else) that weewx will not log anything output in /var/log/syslog
>>>>
>>>> in the /var/log/syslog is only boot process logged???
>>>>
>>>> Thx
>>>>
>>>> --
>>>> 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+...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/weewx-user/7861da3b-f346-43d3-81fc-4fcb11e7df5en%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/weewx-user/7861da3b-f346-43d3-81fc-4fcb11e7df5en%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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zECAbGO%3DTBJLC5QsE5kps9-sDXJUp5KFE-oxEUgpi4A-uA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zECAbGO%3DTBJLC5QsE5kps9-sDXJUp5KFE-oxEUgpi4A-uA%40mail.gmail.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/3a8da31f-86e1-4759-9c2a-86e6a8307390n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/3a8da31f-86e1-4759-9c2a-86e6a8307390n%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/CAPq0zEDBVi7UAxFf6XQO%3DMMS%3DTPUVELwXoL-i6ERWrx5-D-TdQ%40mail.gmail.com.

Reply via email to