Skip to content

Add "log to database" capability #23

Description

@jameswilburlewis

When we eventually start building cron jobs around thmsoc_python utilities, we'll want to be able to log messages to the database, just like we do for ksh, php, and idl jobs. So we'll need a Python version of thmsoc_dblog.php

It will need to get login credentials from a file outside the web root and version control hierarchy. The PHP scripts get credentials by including a PHP file from a directory outside the web root and version control directories. The location of an equivalent file for thmsoc_python could be a new parameter in example_thmsoc_python_config.toml .

The Python version should be implemented as a Python function with a CLI script wrapper 'thmsoc_dblog', with the same API as thmsoc_dblog.php.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions