chore: remove obsolete log.example.jsonl and migrate.dsl files
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
edd6d1d755
commit
e3bce5dddb
@ -1,28 +0,0 @@
|
|||||||
// Logging to File
|
|
||||||
{
|
|
||||||
// logging by program
|
|
||||||
"level": "info",
|
|
||||||
"timestamp": 1744776892300,
|
|
||||||
"text": "This is a test log text",
|
|
||||||
"fields": {
|
|
||||||
"foo": "bar"
|
|
||||||
},
|
|
||||||
"context": {
|
|
||||||
"app": "app-name",
|
|
||||||
"env": "alpha",
|
|
||||||
"log_line": 12,
|
|
||||||
"log_file": "auth.py"
|
|
||||||
},
|
|
||||||
"stacktrace": null,
|
|
||||||
// enriched by the OpenTelemetry
|
|
||||||
"kubernetes": {
|
|
||||||
"pod": "pod-name",
|
|
||||||
"node": "node-name",
|
|
||||||
"pod_ip": "pod-ip",
|
|
||||||
"container_name": "container-name",
|
|
||||||
"node_ip": "node-ip",
|
|
||||||
"namespace": "namespace-name",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// FmtLine: INFO - 2022-05-12 10:34:52 - <log_file:log_line> - {"foo": "bar"} - This is a test log text
|
|
||||||
12
migrate.dsl
12
migrate.dsl
@ -1,12 +0,0 @@
|
|||||||
LOAD DATABASE
|
|
||||||
FROM '/home/yaid/projects/groovy/freeleaps.com/freeleaps-ops/gitea.db'
|
|
||||||
INTO postgresql://postgres:X9H2*9M2ZWYmuZ@localhost:5432/gitea
|
|
||||||
|
|
||||||
WITH data only,
|
|
||||||
include no drop,
|
|
||||||
create no tables,
|
|
||||||
create no indexes,
|
|
||||||
no truncate,
|
|
||||||
batch rows = 1
|
|
||||||
|
|
||||||
excluding table names like 'app_state','oauth2_application','oauth2_authorization_code','oauth2_grant','system_setting','version','notice';
|
|
||||||
Loading…
Reference in New Issue
Block a user