-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When implementing support for act logs, we pushed anything that didn't parse to `trace` level since that stuff seemed _really_ chatty. We intended to update the UI with a trace toggle (like we have for debug), but we never go there. We stopped short of using act in production anyway, so we don't need that. And the lack of a toggle meant these logs were now just completely hidden. While we're in here, we made the prefix parsing a little more robust for parsing prefixes we see in underlying tools' non-JSON logs too.
- Loading branch information
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{"time":"2024-09-26T22:37:30.596752914Z","level":"info","location":{"package":"restyler-0.2.1.0-DyO5DeMlAdAFZ59Xnx0p0c","module":"Restyler.Setup","file":"src/Restyler/Setup.hs","line":56,"char":3},"message":{"text":"Restyler started","meta":{"owner":"freckle","repo":"megarepo","pull":36608}}} | ||
{"time":"2024-09-26T22:37:30.940962758Z","level":"info","location":{"package":"restyler-0.2.1.0-DyO5DeMlAdAFZ59Xnx0p0c","module":"Restyler.Setup","file":"src/Restyler/Setup.hs","line":89,"char":3},"message":{"text":"Cloning repository"}} | ||
Switched to branch 'pull-36608' | ||
{"time":"2024-09-26T22:38:23.243103975Z","level":"info","location":{"package":"restyler-0.2.1.0-DyO5DeMlAdAFZ59Xnx0p0c","module":"Restyler.RemoteFile","file":"src/Restyler/RemoteFile.hs","line":29,"char":3},"message":{"text":"Fetching remote file","meta":{"path":"/tmp/restylers-stable.yaml"}}} | ||
{"time":"2024-09-26T22:38:24.167226784Z","level":"info","location":{"package":"restyler-0.2.1.0-DyO5DeMlAdAFZ59Xnx0p0c","module":"Restyler.Restyler.Run","file":"src/Restyler/Restyler/Run.hs","line":309,"char":3},"message":{"text":"Restyling","meta":{"restyler":"prettier","run":"1 of 1","style":"RestylerRunStylePathsOverwriteSep"}}} | ||
[error] No parser could be inferred for file: frontend/educator/classroom/ts/math/levels-report/components/report/__snapshots__/diagnostic-report.test.tsx.snap | ||
frontend/educator/classroom/ts/math/levels-report/components/report/diagnostic-report-table/index.tsx 429ms | ||
frontend/educator/classroom/ts/math/levels-report/components/report/diagnostic-report.tsx 188ms | ||
frontend/educator/classroom/ts/math/levels-report/components/report/lll-recommendation-banner.module.scss 47ms | ||
frontend/educator/classroom/ts/math/levels-report/components/report/lll-recommendation-banner.tsx 71ms | ||
{"time":"2024-09-26T22:38:26.208717914Z","level":"warn","location":{"package":"restyler-0.2.1.0-DyO5DeMlAdAFZ59Xnx0p0c","module":"Restyler.App","file":"src/Restyler/App.hs","line":110,"char":46},"message":{"text":"callProcessExitCode","meta":{"command":"docker","arguments":["run","--rm","--net","none","--cap-drop","all","--cpu-shares","128","--memory","512m","--volume","/tmp/restyler-1:/code","restyled/restyler-prettier:v2.6.2","prettier","--write","--","./frontend/educator/classroom/ts/math/levels-report/components/report/__snapshots__/diagnostic-report.test.tsx.snap","./frontend/educator/classroom/ts/math/levels-report/components/report/diagnostic-report-table/index.tsx","./frontend/educator/classroom/ts/math/levels-report/components/report/diagnostic-report.tsx","./frontend/educator/classroom/ts/math/levels-report/components/report/lll-recommendation-banner.module.scss","./frontend/educator/classroom/ts/math/levels-report/components/report/lll-recommendation-banner.tsx"],"exitCode":2}}} | ||
{"time":"2024-09-26T22:38:28.418343801Z","level":"error","location":{"package":"restyler-0.2.1.0-DyO5DeMlAdAFZ59Xnx0p0c","module":"Restyler.Exit","file":"src/Restyler/Exit.hs","line":74,"char":5},"message":{"text":"Exception:\nRestyler prettier exited non-zero (2)\n Error information may be present in debug messages printed above\n\n Help:\n https://github.com/restyled-io/restyled.io/wiki/Common-Errors:-Prettier\n https://prettier.io/docs/en/","meta":{"error":{"description":"a Restyler errored","exitCode":20,"severity":"warning","tag":"restyler"}}}} | ||
{"time":"2024-09-26T22:38:28.952387369Z","level":"info","location":{"package":"main","module":"Main","file":"app/main.hs","line":29,"char":7},"message":{"text":"Restyler done","meta":{"exitCode":20}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters