| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-04-10 | Fix known-hosts trust deadlock, host key stat, and optional nozstd build | Paul Buetow | |
| - stdout logger: release mutex while waiting on pause resume so prompt callbacks can log (fixes hang after trusting new hosts; known_hosts was written but Resume never ran). - known hosts callback: stop borrowing the SSH dial throttle channel (could block or interact badly with parallel handshakes). - host key path: use errors.Is(..., fs.ErrNotExist) for RootedPath.Stat wrapped errors; stat errors now fail fast instead of mis-read. - public key path: same ErrNotExist check for authorized_keys miss. - Build: optional DTAIL_NO_ZSTD=yes / nozstd tag for CGO-free builds; split zstd readers into tagged files. - Docs/examples: firewalld note for port 2222, log prune timer+script, SSHBindAddress note, dserver unit disabled-by-default comment; firewalld helper script example. - Regression test for stdout pause/mutex behavior. Made-with: Cursor | |||
| 2026-01-29 | refactor: improve Go best practices compliance | Paul Buetow | |
| - Add explicit interface satisfaction checks (var _ Interface = (*Type)(nil)) for compile-time verification: - TurboWriter implementations (DirectTurboWriter, TurboChannelWriter) - Processor implementations (GrepLineProcessor, ChannellessLineProcessor) - Parser implementations (genericParser, csvParser, genericKVParser, custom parsers, mimecastParser) - Logger implementations (file, stdout) - Handler implementations (ServerHandler, ClientHandler) - Connector implementations (Serverless, ServerConnection) - SSH callback implementations (KnownHostsCallback) - Improve error handling with context wrapping (%w): - SSH operations: GeneratePrivateRSAKey, Agent - Query parsing: Query.parse - SSH client connections: dial, session, handle methods - Fix receiver consistency: - Convert Query.String() from value to pointer receiver - Convert Outfile.String() from value to pointer receiver - Convert all KnownHostsCallback methods to pointer receivers - Convert mapCommand.Start() to pointer receiver - Reorganize file structure for better clarity: - internal/io/dlog/dlog.go: Move type definition before public functions - internal/mapr/token.go: Reorganize helper functions after public ones - Add documentation comments: - Query.String() method - Outfile.String() method - Regex.String() method - Improve config variable documentation All unit tests and integration tests pass. Amp-Thread-ID: https://ampcode.com/threads/T-019c0b08-0eeb-705d-a1f7-31bb764b659a Co-authored-by: Amp <amp@ampcode.com> | |||
| 2024-03-29 | lint warnings | Paul Buetow | |
| 2022-03-14 | a 0666 to OpenFile will respect the user's default umask | Paul Buetow | |
| 2021-12-03 | satisfy sonarqube | Paul Buetow | |
| 2021-12-03 | Use nested comments to satisfy SonarQube | Paul Buetow | |
| 2021-12-03 | comment why none logger documentation is empty | Paul Buetow | |
| 2021-11-02 | Bugfix: Dealing correctly with files without newline characters, also add ↵ | Paul Buetow | |
| more tests | |||
| 2021-10-19 | lowercase log rotation comparison | Paul Buetow | |
| 2021-10-12 | Update JSON-schema to reflect all recent config file changes. | Paul Buetow | |
| 2021-10-10 | vetting and linting and some code restyling | Paul Buetow | |
| 2021-10-10 | add dtail health check unit test. | Paul Buetow | |
| 2021-10-09 | refactor | Paul Buetow | |
| 2021-10-02 | add dcat test | Paul Buetow | |
| 2021-10-02 | Client default log dir is ~/log | Paul Buetow | |
| 2021-10-02 | add more default fields to MAPREDUCE | Paul Buetow | |
| 2021-10-02 | can have daily and normal file log rotation | Paul Buetow | |
| 2021-10-02 | move args to config package | Paul Buetow | |
| logger package rewrite as dlog | |||
