-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Logging #15
Comments
Since every log is tied to a transaction number and a command, should probably maintain one |
Sorry I'm a bit unsured why should we keep track of LogCommandParameters per request? |
No need to enable that - the HTTP server now assigns transactionNum as the requests come in. We'll need to modify the parameters downstream to ensure that transactionNum propagates |
HTTP Server will contribute four logs:
DebugType
int
// UNIX timestampstring
// name of server eg. "Transaction Server"int
// enumeration of transactionstring
// one of the known commands ("BUY", "SELL" etc)string
// optional alphanumeric usernamestring
// optional three-char alphanumeric stock symbol ("NWC", "BTK")string
// optional name of file to be written todecimal
// optional dollars and cents (eg 24.99)string
// optional debug message or descriptionErrorEventType
int
// UNIX timestampstring
// name of server eg. "Transaction Server"int
// enumeration of transactionstring
// one of the known commands ("BUY", "SELL" etc)string
// optional alphanumeric usernamestring
// optional three-char alphanumeric stock symbol ("NWC", "BTK")string
// optional name of file to be written todecimal
// optional dollars and cents (eg 24.99)string
// optional error message or descriptionSystemEventType
int
// UNIX timestampstring
// name of server eg. "Transaction Server"int
// enumeration of transactionstring
// one of the known commands ("BUY", "SELL" etc)string
// optional alphanumeric usernamestring
// optional three-char alphanumeric stock symbol ("NWC", "BTK")string
// optional name of file to be written todecimal
// optional dollars and cents (eg 24.99)UserCommandType
int
// UNIX timestampstring
// name of server eg. "Transaction Server"int
// enumeration of transactionstring
// one of the known commands ("BUY", "SELL" etc)string
// optional alphanumeric usernamestring
// optional three-char alphanumeric stock symbol ("NWC", "BTK")string
// optional name of file to be written todecimal
// optional dollars and cents (eg 24.99)The text was updated successfully, but these errors were encountered: