aboutsummaryrefslogtreecommitdiff
path: root/zenserver/diag
Commit message (Collapse)AuthorAgeFilesLines
* moved source directories into `/src` (#264)Stefan Boberg2023-05-025-786/+0
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* fix sentry report callstack (#256)Dan Engelbrecht2023-04-251-51/+0
| | | | | | | * Include file, line and function in sentry log error messages * use sync direct error logger to get correct call stacks on error * changelog * use d1trimfile on windows to shorten file path on windows * constexpr -> consteval
* tweaks for enabling unity buildsStefan Boberg2023-04-191-3/+3
| | | | | | | | | | mostly changes to make sure anonymous namespaces don't clash and a change to avoid windows headers from leaking into other compilation units unity builds are not yet enabled by default, but can be enabled by uncommenting this line in the root `xmake.lua` ``` --add_rules("c++.unity_build") ```
* Use Iso8601 format for logging start and end message (#202)Dan Engelbrecht2022-12-071-2/+3
| | | | * Use Iso8601 format for logging start and end message * changelog
* add "version" command with "detailed" option (#192)Dan Engelbrecht2022-11-211-0/+15
| | | specify host url to query running service version, otherwise you get zen command version
* adjusted logging to be more in line with current configDan Engelbrecht2022-09-151-3/+7
|
* enable json log file (#164)Dan Engelbrecht2022-09-121-3/+154
| | | | | | * Include source location on ZEN_ERROR and ZEN_CRITICAL * Use proper logging for sentry init status * format file logger as json if .json extension is given * changelog
* Add sentry log sink to capture error/critical log statements (#147)Dan Engelbrecht2022-08-261-6/+56
| | | | Attach log file to sentry error reports Log ERROR when std::terminate() is called
* Use "\\?\" prefixed paths and fix hardcoded path delimiters (#149)Dan Engelbrecht2022-08-261-2/+8
| | | | | | * use "\\?\" prefix for windows paths * fix path delimiters * disable vcpkg caching * Workaround for spdlog not being able to create directories prefixed with `\\?\`
* Unused lambda capture compile fixesMartin Ridgers2022-01-101-1/+1
|
* Merged main.Per Larsson2021-12-141-3/+5
|\
| * Merged mainMartin Ridgers2021-11-222-15/+128
| |\
| * | ToUtf8() -> PathToUtf8() as the latter is less ambiguousMartin Ridgers2021-11-161-3/+3
| | |
| * | Merged mainMartin Ridgers2021-11-031-6/+14
| |\ \
| * | | Missing includeMartin Ridgers2021-11-021-0/+1
| | | |
| * | | Fixed unhandled switch cases errorMartin Ridgers2021-11-021-0/+3
| | | |
| * | | Fixed some assumptions that std::fs::path is a wchar_t under the hoodMartin Ridgers2021-11-011-3/+3
| | | |
| * | | Everywhere else has had VT100 support since 1978Martin Ridgers2021-11-011-0/+2
| | | |
* | | | Merged main.Per Larsson2021-11-251-2/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Changed Health service to return CbObject instead of JSON.Per Larsson2021-11-221-2/+1
| | | |
* | | | merged from mainStefan Boberg2021-11-182-12/+129
|\| | |
| * | | Extended Health endpoint with support for returning build version and log file.Per Larsson2021-11-182-12/+129
| | |/ | |/|
* | | merge from mainStefan Boberg2021-11-181-6/+14
|\| |
| * | Upload cache record before blobs and call finalize when processing upstream ↵Per Larsson2021-11-011-6/+14
| |/ | | | | | | to Jupiter.
* | log: improved log pattern for file log to make it easier to consume file ↵Stefan Boberg2021-11-031-1/+8
| | | | | | | | logs from servers
* | Merge branch 'main' into gcStefan Boberg2021-10-201-1/+1
|\|
| * Format fix.Per Larsson2021-10-201-1/+1
| |
* | minor: comment editsStefan Boberg2021-10-181-2/+2
|/
* zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-152-7/+5
| | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* Only enable the MSVC debug output sink for sessions when the --debug mode is ↵Stefan Boberg2021-10-061-1/+1
| | | | | | enabled Previously it would always be enabled if an attached debugger was detected but it impacts performance quite severely so now it is opt-in
* Added option to specify path to logfile.Per Larsson2021-10-061-1/+2
|
* Added http_requests logger for (optionally) logging HTTP requestsStefan Boberg2021-09-261-0/+12
|
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-17/+21
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Eliminated some redundant logger configurationStefan Boberg2021-09-171-2/+0
|
* Changed file logging to use a rotating log strategyStefan Boberg2021-09-171-1/+18
|
* clang-formatStefan Boberg2021-09-171-1/+11
|
* Moved zenserverprocess into zenutil/zenserverprocess.hStefan Boberg2021-09-171-0/+6
|
* Tweaked logging to streamline access, and simplified setup code for new loggersStefan Boberg2021-09-151-6/+9
|
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-7/+7
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* clang-formatStefan Boberg2021-09-092-3/+3
|
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-091-1/+1
| | | | of place in zencore
* Moved a bunch of logging code into zencoreStefan Boberg2021-09-082-50/+26
|
* Added custom cpr::Response formatter and removed duplicate logging code.Per Larsson2021-09-071-0/+66
|
* Zen upstream support (#7)Per Larsson2021-09-031-0/+4
|
* Asynchronous upstream caching to JupiterPer Larsson2021-08-312-9/+65
| | | | Co-authored-by: Stefan Boberg <[email protected]>
* Added basic file loggingStefan Boberg2021-08-271-0/+9
|
* Changed direct spdlog -> zencore/logging.hStefan Boberg2021-08-241-2/+1
|
* Improved crash reporting setup and removed old stubsStefan Boberg2021-08-212-21/+0
| | | | Also added ability to exercise crash reporting from command line
* Removed some experimental dependenciesStefan Boberg2021-05-161-75/+2
|
* Adding zenservice codeStefan Boberg2021-05-115-0/+412