deep-foundation / deep-packages

This is repository for packages that are published only in NPM.
https://github.com/orgs/deep-foundation/projects/12
The Unlicense
0 stars 2 forks source link

Beautify or prettify log messages #132

Closed Konard closed 5 days ago

Konard commented 2 months ago

Single log line is converted to formatted JSON. From JSON we get formatted SQL/JavaScript and so on.

mohmed-ahmed-dev commented 1 week ago

What is the ultimate goal of converting text logs to JSON format? (For example, data analysis, storage, visualization) What benefits do you expect to gain from this conversion? To clarify the difficulties you're facing: What challenges are you encountering during the conversion process? (e.g., inconsistent log formats, missing fields, errors during conversion) Are you receiving any specific error messages? To identify the tools you're using: What programming language or tools are you currently using to convert the logs? (e.g., Python, JavaScript, command-line tools) Are you using any specific libraries or tools for the conversion process?

ivansglazunov commented 5 days ago

What is the ultimate goal of converting text logs to JSON format? (For example, data analysis, storage, visualization) What benefits do you expect to gain from this conversion? To clarify the difficulties you're facing: What challenges are you encountering during the conversion process? (e.g., inconsistent log formats, missing fields, errors during conversion) Are you receiving any specific error messages? To identify the tools you're using: What programming language or tools are you currently using to convert the logs? (e.g., Python, JavaScript, command-line tools) Are you using any specific libraries or tools for the conversion process?

We will soon add native support for remote debugging and debuggers. This is what will be intended for debugging convenience. The results that are written now are not debugging, but literally what the code returns, and this is saved to the database. If the code fails with an error, the error is written as the content of the negative calculation result. These json are the input/output standard, not debug. A universal format was needed. Different languages ​​need different debugging standards, something does not support them, but js, for example, can do it in https://github.com/node-inspector/node-inspector. The task of adding a debugger is in the plans, not yet taken. Tentatively - October-December.

ivansglazunov commented 5 days ago

The essence of the issue is incorrect.