Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cli/logs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe("Railway Logs Module", () => {

const command = await buildLogCommand("deployment");

expect(command).toBe("railway logs --deployment --json --lines 1000");
expect(command).toBe("railway logs --deployment --json --lines 100");
});

it("should not include lines/filter for older CLI versions", async () => {
Expand Down Expand Up @@ -119,7 +119,7 @@ describe("Railway Logs Module", () => {
const command = await buildLogCommand("deployment", "deploy-123");

expect(command).toBe(
"railway logs --deployment --json --lines 1000 deploy-123"
"railway logs --deployment --json --lines 100 deploy-123"
);
});

Expand Down
2 changes: 1 addition & 1 deletion src/cli/logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const buildLogCommand = async (

if (supportsLinesAndFilter) {
// Always use --lines when specified to prevent streaming
args.push("--lines", lines ? lines.toString() : "1000");
args.push("--lines", lines ? lines.toString() : "100");

if (filter) {
args.push("--filter", `"${filter}"`);
Expand Down