diff pkg/controllers/token.go @ 722:815f5e2ed974

Added simple endpoint to view system logs. api/system/log/{service}/{file} allows to retrieve the raw log file content for a selected set of services (currently "apache2" and "postgresql"). The result is a JSON with two fields: "path:" contains the fully qualified path of the retrieved log file in the servers file system and "content:" provides the verbatim content of the requested log file.
author Sascha Wilde <wilde@intevation.de>
date Fri, 21 Sep 2018 18:01:39 +0200
parents d9dbb6139760
children 7934b5c1a910
line wrap: on
line diff