Skip to content

skyferthesly/logger_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplified Logger Client

Python GUI that allows the user to log message and optional extra data to a configurable webservice using basic auth.

Getting Started

  1. Clone the project
  2. Set the server configuration in config.ini
  3. Run the standard python setup.py install
  4. python logger_client

NOTE: if the client is being ran as an external dependency, you can set the environment variables SIMPLIFIED_LOGGER_SERVER_URI and MESSAGES_ENDPOINT. The client will look for these variables before consulting config.ini

Usage

Using the client, you can send a log message, log type, and optional email with basic auth to a webservice. For this prototype, the only user is an admin user with the credentials:

  • username: admin1
  • password: pass1

The client is designed to handle user error such as not entering a message, or not entering authentication information. The Response textbox is designed to inform the user of how to use the app as well as how the server is responding.

Issues

When used as an external package, the default environment variables are not being set. This is possibly due to the config.ini reference being a relative path. When this happens, the client explicitly sets the default address.

Improvements

Being able to send an arbitrary amount of optional parameters would be a great feature for the next iteration.

The client could also use some basic testing.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages