Where to find things¶
Locations¶
Here is a summary of the layout for the different install methods, along with the symbolic names used for each role. These names are used throughout the documentation.
Note
The install locations below are relative to WEEWX_ROOT
. See Python's documentation on
os.path.join()
for the
results of joining two absolute paths (summary: the 2nd path wins).
Role | Symbolic name | Nominal value |
---|---|---|
WeeWX root directory | WEEWX_ROOT |
/ |
Executables | BIN_ROOT |
/usr/share/weewx/ |
Configuration directory | CONFIG_ROOT |
/etc/weewx/ |
Skins and templates | SKIN_ROOT |
/etc/weewx/skins/ |
SQLite databases | SQLITE_ROOT |
/var/lib/weewx/ |
Web pages and images | HTML_ROOT |
/var/www/html/weewx/ |
Documentation | DOC_ROOT |
/usr/share/doc/weewx/ |
Examples | EXAMPLE_ROOT |
/usr/share/doc/weewx/examples/ |
User directory | USER_ROOT |
/usr/share/weewx/user |
Role | Symbolic name | Nominal value |
---|---|---|
WeeWX root directory | WEEWX_ROOT |
/ |
Executables | BIN_ROOT |
/usr/share/weewx/ |
Configuration directory | CONFIG_ROOT |
/etc/weewx/ |
Skins and templates | SKIN_ROOT |
/etc/weewx/skins/ |
SQLite databases | SQLITE_ROOT |
/var/lib/weewx/ |
Web pages and images | HTML_ROOT |
/var/www/html/weewx/ |
Documentation | DOC_ROOT |
/usr/share/doc/weewx-x.y.z/ |
Examples | EXAMPLE_ROOT |
/usr/share/doc/weewx-x.y.z/examples/ |
User directory | USER_ROOT |
/usr/share/weewx/user |
Role | Symbolic name | Nominal value |
---|---|---|
WeeWX root directory | WEEWX_ROOT |
~/weewx-data |
Executables | BIN_ROOT |
~/.local/bin |
Configuration directory | CONFIG_ROOT |
./ |
Skins and templates | SKIN_ROOT |
./skins/ |
SQLite databases | SQLITE_ROOT |
./archive/ |
Web pages and images | HTML_ROOT |
./public_html/ |
Documentation | DOC_ROOT |
./docs |
Examples | EXAMPLE_ROOT |
./examples/ |
User directory | USER_ROOT |
./bin/user |
Log files¶
Where to find your log file. You may require root permissions to read them.
/var/log/syslog
/var/log/messages
The macOS log file is nominally found at /var/log/syslog
. However, it is likely to contain
only severe log messages. You may want to consider logging to a rotating file. See the
wiki article Logging to rotating files.