chore: move agent log filepath. (#275)
parent
2a01fdf177
commit
9ca7d11295
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -68,10 +68,10 @@ var init_logger = __esm({
|
||||||
init_env();
|
init_env();
|
||||||
stream = isBrowser ? null : (
|
stream = isBrowser ? null : (
|
||||||
/**
|
/**
|
||||||
* Default rotating file locate at `~/.tabby/agent-logs/`.
|
* Default rotating file locate at `~/.tabby/agent/logs/`.
|
||||||
*/
|
*/
|
||||||
require("rotating-file-stream").createStream("tabby-agent.log", {
|
require("rotating-file-stream").createStream("tabby-agent.log", {
|
||||||
path: require("path").join(require("os").homedir(), ".tabby", "agent-logs"),
|
path: require("path").join(require("os").homedir(), ".tabby", "agent", "logs"),
|
||||||
size: "10M",
|
size: "10M",
|
||||||
interval: "1d"
|
interval: "1d"
|
||||||
})
|
})
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -28477,10 +28477,10 @@ var init_logger = __esm({
|
||||||
init_env();
|
init_env();
|
||||||
stream = isBrowser ? null : (
|
stream = isBrowser ? null : (
|
||||||
/**
|
/**
|
||||||
* Default rotating file locate at `~/.tabby/agent-logs/`.
|
* Default rotating file locate at `~/.tabby/agent/logs/`.
|
||||||
*/
|
*/
|
||||||
(init_es(), __toCommonJS(es_exports)).createStream("tabby-agent.log", {
|
(init_es(), __toCommonJS(es_exports)).createStream("tabby-agent.log", {
|
||||||
path: (init_path(), __toCommonJS(path_exports)).join((init_os(), __toCommonJS(os_exports)).homedir(), ".tabby", "agent-logs"),
|
path: (init_path(), __toCommonJS(path_exports)).join((init_os(), __toCommonJS(os_exports)).homedir(), ".tabby", "agent", "logs"),
|
||||||
size: "10M",
|
size: "10M",
|
||||||
interval: "1d"
|
interval: "1d"
|
||||||
})
|
})
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -7,10 +7,10 @@ import { isBrowser } from "./env";
|
||||||
const stream = isBrowser
|
const stream = isBrowser
|
||||||
? null
|
? null
|
||||||
: /**
|
: /**
|
||||||
* Default rotating file locate at `~/.tabby/agent-logs/`.
|
* Default rotating file locate at `~/.tabby/agent/logs/`.
|
||||||
*/
|
*/
|
||||||
require("rotating-file-stream").createStream("tabby-agent.log", {
|
require("rotating-file-stream").createStream("tabby-agent.log", {
|
||||||
path: require("path").join(require("os").homedir(), ".tabby", "agent-logs"),
|
path: require("path").join(require("os").homedir(), ".tabby", "agent", "logs"),
|
||||||
size: "10M",
|
size: "10M",
|
||||||
interval: "1d",
|
interval: "1d",
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue