Commit Graph

12 Commits

Author SHA1 Message Date
fdf94e683f Added flawfinder code check 2021-08-04 11:03:22 +00:00
c683c5569b Added compilation instructions for several distros 2021-08-03 19:16:48 +02:00
27c470c3eb Improved configuration files 2021-07-29 22:57:26 +00:00
6f93441f60 Adjusted installation instructions 2021-07-29 22:57:21 +00:00
f28cda9920 Easier installation instructions 2021-07-28 14:46:55 +00:00
a14924a999 Logging Improvements
* Using [`GLib Logging Framework`](https://developer.gnome.org/programming-guidelines/stable/logging.html.en) for logging
  * Created new `g_logger` function for logging
    * Outputs to `stdout`/`stderr` only when running in `foreground`
      * `stderr` for `message`, `warning`, `critical` & `error` levels
      * `stdout` for `debug` & `info` levels
        * Use `G_MESSAGES_DEBUG=all` environment to enable `debug` to print
    * Otherwise, output will be to `syslog` or `systemd journal` (when appropriate)
* Standardized usage of `{LOG_PRIORITY}: ` prefix in log messages
  * Only when using `syslog`, otherwise `GLib Logging` will take care of it
* Changed `fprintf(stderr`, `printf` & `perror` calls to `g_logger` calls
  * You might want to check them out closely to make sure I chose the right levels
  * No changes to `logging/output` were made to "`foreground`" programs (I.E. `render_*`)
* Changed `0`,`1` to `no_argument`,`required_argument` in `getopt_long`'s `long_options`
  * Fixed `renderd`'s `foreground` opt (should be `no_argument` [0] rather than `reguired_argument` [1])
* Basic test for `mod_tile` module
* ~~Extended `renderd` log priority onto Mapnik's logger~~
2021-07-28 14:46:50 +00:00
1ed85f3f8d Documented installation of Debian and Ubuntu packages from official sources 2021-07-27 12:22:25 +00:00
865a44e63f Explicitly mention Debian packages for config
Explicitly state that Debian helper scripts require packages and configuration section does not apply when building from source.
Fixes #241 misunderstanding.
2021-07-20 15:28:35 +02:00
acb11808d6 Update README.rst
one letter is missing
2021-03-21 08:26:14 +00:00
6ca983408a Added Linux as dependency 2021-02-14 10:31:41 +00:00
e1b3df907c Fix copyright statement in README 2021-02-11 21:17:40 +00:00
a3f4230df6 Update README instructions 2020-10-27 10:26:35 +00:00