Commit Graph

31 Commits

Author SHA1 Message Date
Jeff Hodges 99e85bcae7 correct initializeAuditLogger comment 2015-07-31 10:11:37 -07:00
Jeff Hodges 7e9182c2ba panic on errors in initializeAuditLogger
Found when poking at the new containerized Travis CI build with
@rolandshoemaker. This was causing strange panics far away from here
when code would try to log audits when there was no syslog available.
2015-07-31 03:01:21 -07:00
Jeff Hodges 8975601d5e correct bodyStr->body 2015-07-23 17:41:15 -07:00
Tom Clegg 0e72f95660 Add mock for syslog. 2015-07-19 05:44:56 -04:00
Roland Shoemaker 036c80703b Remove duplication 2015-06-23 19:16:44 +01:00
Roland Shoemaker 8d379ab499 Use standard JSON format in logger 2015-06-23 19:10:09 +01:00
Roland Shoemaker 8183ce5312 Fix typo 2015-06-21 14:08:29 -07:00
Roland Shoemaker 617df9f937 Merge branch 'master' into wfe-logging 2015-06-20 16:05:51 -07:00
J.C. Jones ae9a8a38fa Improve audit logging on panic conditions:
- Audit log the error
- Audit log the current frame
- Warning log the other frames (up to 8k)
2015-06-20 10:53:10 -07:00
Roland Shoemaker f228ac41f5 Add connection logging to the WFE 2015-06-19 16:47:54 -07:00
J.C. Jones 2d92b1f348 Issue #286: Audit Logs not Transmitted
- Add tests for transmission of each log level
- Add default level for `logAtLevel` to catch programming errors
- Transmit things logged at `Logging.Notice`
2015-06-01 22:43:35 -07:00
J.C. Jones af0f8446eb Issue #202, Periodic OCSP Signer Tool
- Move dbMap construction and type converter into individual files in the sa package.
- Add DB configuration for the OCSP tool to the boulder config:
  - left to the user if they want to use different boulder-config.json files
    for different purposes.
- Added updater to Makefile
- Fix trailing ',' in the Boulder config, add more panic logging
- Ignore .pem files produced by the integration test
- Change RPC to use per-instance named reply-to queues.
- Finish OCSP Updater logic
- Rework RPC for OCSP to use a transfer object (due to serialization problems of x509.Certificate)
2015-05-27 22:01:29 -07:00
J.C. Jones f15da06af7 Issue #238 - MySql column width too narrow
- Added SQL debug logging (SA option: "SQLDebug")
- Added timestamps to the log prints to stdout
- Ignore *.pem in test/js
- Modified start.sh to support environment overrides for BOULDER_CONFIG, like the AMQP mode
- Changed boulder-test-config to open the server on the loopback device, so as to not cause firewall prompts on each integration test run for those of us being restrictive
- Renamed "key" column to "jwk" in DB, to avoid keyword conflict
- Set MaxLength on "jwk" column to 512
2015-05-27 12:12:41 -07:00
J.C. Jones 1c9837ddf8 Audit all Challenges (success/failure) in VA for Issue #204
- Don't ignore entropy underruns in challenges.go
- Correct identity crisis in Policy Authority; hopefully it will remember.
- Add a method `AuditObject` in audit-logger and convert RA/VA to use it
- Fix json typo in registration-authority that caused empty audit logs
- Fix vet issue in WFE where RegID was being printed as a 32-bit int instead of 64-bit
- Unfix the issue in WFE where RegID isn't right, per PR #215
2015-05-21 13:58:40 -07:00
J.C. Jones 42302541bd Run `go fmt` for PR #186 2015-05-18 18:44:38 -07:00
J.C. Jones d2be0dcb95 Review updates 2015-05-18 18:24:37 -07:00
Richard Barnes c3b312118e Add audit logging
- Auditing for general errors in executables
- Auditing for improper messages received by WFE
- Automatic audit wlogging of software errors
- Audit logging for mis-routed messages
- Audit logging for certificate requests
- Auditing for improper messages received by WFE
- Add audit events table
- Expect more details in TestRegistration in web-front-end_test.go
- Remove "extra" debug details from web-front-end.go per Issue #174
- Improve test coverage of web-front-end.go
- WFE audit updates for revocation support rebase
- Add audit messages to RPC for Improper Messages and Error Conditions
- Also note misrouted messages
2015-05-18 18:23:08 -07:00
Peter Eckersley f00848e115 Hypothetical RNG failure handling 2015-05-01 22:03:59 -07:00
J.C. Jones cead23df00 Updates per jsha's review 2015-05-01 21:50:07 -07:00
J.C. Jones e828c61818 Add singleton semantics to Audit Logger, per Issue #135
- Update tests to use the singleton logger
- Update commands to set the audit logger singleton
- Formatting updates to the tests (go fmt)
2015-05-01 21:48:24 -07:00
Jacob Hoffman-Andrews dd58bdcaa1 Merge branch 'master' into schema-updates
Conflicts:
	sa/storage-authority.go
2015-04-27 17:21:31 -07:00
Jacob Hoffman-Andrews 1743fb2edb Fix stats for log.Notice. 2015-04-27 15:50:31 -07:00
Jacob Hoffman-Andrews 4e2d71f40d Add stdout logging for Notice level. 2015-04-24 18:39:20 -07:00
Jacob Hoffman-Andrews ca6e349906 Fix tests. 2015-04-23 20:06:17 -07:00
Roland Shoemaker 5fb6741052 fix tests 2015-04-13 02:00:31 -07:00
Roland Shoemaker b786920c03 various cleanups 2015-04-12 23:36:45 -07:00
Roland Shoemaker ed4a147737 fix conflict 2015-04-12 21:55:01 -07:00
Roland Shoemaker 4967e9486d hook in everywhere, add Noop client in tests 2015-04-12 21:50:07 -07:00
Jacob Hoffman-Andrews e9302f2288 Make it easier to start a test config. 2015-04-09 18:26:40 -07:00
J.C. Jones 33ac212b70 Add logging infrastructure to all authorities and commands 2015-03-24 19:06:11 -07:00
J.C. Jones 151274f1b3 Rework audit logging. Issue #23. 2015-03-24 17:36:26 -07:00