Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Fix: change tail log to 16KB #5575

Merged
merged 1 commit into from
Jul 27, 2021
Merged
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
2 changes: 1 addition & 1 deletion src/rest-server/src/controllers/internal/tail-log.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const logger = require('@pai/config/logger');
const createError = require('@pai/utils/error');

const getTailLog = asyncHandler(async (req, res) => {
const tailLogSize = 16 * 1024 * 1024; // 16 KB
const tailLogSize = 16 * 1024; // 16 KB
const logName = req.params.logName;
const queryString = req.url.substring(req.url.indexOf('?') + 1);
const account = launcherConfig.logAzureStorageAccount;
Expand Down