Hello,
Is it possible to configure a maximum size for global-groovy.log file ?
I can see that ready-api.log and ready-api-errors.log are automatically archived in 5Mo files, but my global-groovy.log can reach sizes above 1Go, which makes it quite difficult to edit in case I need it.
thank you
","kudosSumWeight":0,"postTime":"2020-03-04T23:37:02.621-08:00","images":{"__typename":"AssociatedImageConnection","edges":[],"totalCount":0,"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}},"attachments":{"__typename":"AttachmentConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"tags":{"__typename":"TagConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[]},"timeToRead":1,"currentRevision":{"__ref":"Revision:revision:198168_1"},"latestVersion":null,"metrics":{"__typename":"MessageMetrics","views":1977},"visibilityScope":"PUBLIC","canonicalUrl":null,"seoTitle":null,"seoDescription":null,"isEscalated":null,"placeholder":false,"originalMessageForPlaceholder":null,"messagePolicies":{"__typename":"MessagePolicies","canModerateSpamMessage":{"__typename":"PolicyResult","failureReason":{"__typename":"FailureReason","message":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","key":"error.lithium.policies.feature.moderation_spam.action.moderate_entity.allowed.accessDenied","args":[]}}},"archivalData":null,"customFields":[],"body":"
Hello,
Is it possible to configure a maximum size for global-groovy.log file ?
I can see that ready-api.log and ready-api-errors.log are automatically archived in 5Mo files, but my global-groovy.log can reach sizes above 1Go, which makes it quite difficult to edit in case I need it.
thank you
"},"Conversation:conversation:198168":{"__typename":"Conversation","id":"conversation:198168","solved":true,"topic":{"__ref":"ForumTopicMessage:message:198168"},"lastPostingActivityTime":"2020-03-14T05:21:52.079-07:00","lastPostTime":"2020-03-14T05:21:52.079-07:00","unreadReplyCount":4,"isSubscribed":false},"ModerationData:moderation_data:198168":{"__typename":"ModerationData","id":"moderation_data:198168","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"Revision:revision:198168_1":{"__typename":"Revision","id":"revision:198168_1","lastEditTime":"2020-03-04T23:37:02.621-08:00"},"AcceptedSolutionMessage:message:198183":{"__typename":"AcceptedSolutionMessage","id":"message:198183","conversation":{"__ref":"Conversation:conversation:198168"},"author":{"__ref":"User:user:21201"},"revisionNum":1,"uid":198183,"depth":1,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumTopicMessage:message:198168"},"subject":"Re: global-groovy.log size handling","moderationData":{"__ref":"ModerationData:moderation_data:198183"},"body":"Please check for *log4j.xml file under READYAPI_HOME/bin directory and try to configure the archiving like it is for other logs.
that's an idea ... I'll try it
thanks
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"40","kudosSumWeight":1,"postTime":"2020-03-05T06:56:38.881-08:00","lastPublishTime":"2020-03-05T06:56:38.881-08:00","metrics":{"__typename":"MessageMetrics","views":1950},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:198168/message:198220","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjQuMTF8Mi4xfG98M3wxNDowLDM5OjF8MQ","node":{"__ref":"ForumReplyMessage:message:198328"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:198328":{"__typename":"ModerationData","id":"moderation_data:198328","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"Rank:rank:26":{"__typename":"Rank","id":"rank:26","position":9,"name":"Community Hero","color":"333333","icon":null,"rankStyle":"TEXT"},"User:user:77377":{"__typename":"User","id":"user:77377","uid":77377,"login":"HimanshuTayal","biography":null,"registrationData":{"__typename":"RegistrationData","status":null,"registrationTime":"2017-12-11T09:26:05.340-08:00","confirmEmailStatus":null,"registrationAccessLevel":null,"ssoRegistrationFields":[]},"deleted":false,"email":"","avatar":{"__typename":"UserAvatar","url":"https://community.smartbear.com/t5/s/nwkab66374/m_assets/avatars/default/avatar-10.svg"},"rank":{"__ref":"Rank:rank:26"},"messagesCount":781,"kudosGivenCount":44,"kudosReceivedCount":397,"kudosWeight":1,"ssoId":null,"followersCount":null,"solutionsCount":130,"entityType":"USER","eventPath":"community:nwkab66374/user:77377"},"ForumReplyMessage:message:198328":{"__typename":"ForumReplyMessage","uid":198328,"id":"message:198328","revisionNum":1,"author":{"__ref":"User:user:75488"},"readOnly":false,"repliesCount":1,"depth":3,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumReplyMessage:message:198220"},"conversation":{"__ref":"Conversation:conversation:198168"},"subject":"Re: global-groovy.log size handling","moderationData":{"__ref":"ModerationData:moderation_data:198328"},"body":"Thank you nmrao for sharing this approach.
\n\n
Hi krogold! Did this idea work for you?
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"106","kudosSumWeight":0,"postTime":"2020-03-08T23:56:26.637-07:00","lastPublishTime":"2020-03-08T23:56:26.637-07:00","metrics":{"__typename":"MessageMetrics","views":1917},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:198168/message:198328","replies":{"__typename":"MessageConnection","pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null},"edges":[{"__typename":"MessageEdge","cursor":"MjQuMTF8Mi4xfG98MXwxNDowLDM5OjF8MQ","node":{"__ref":"ForumReplyMessage:message:198760"}}]},"customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}},"ModerationData:moderation_data:198760":{"__typename":"ModerationData","id":"moderation_data:198760","status":"APPROVED","rejectReason":null,"isReportedAbuse":false,"rejectUser":null,"rejectTime":null,"rejectActorType":null},"ForumReplyMessage:message:198760":{"__typename":"ForumReplyMessage","author":{"__ref":"User:user:77377"},"id":"message:198760","revisionNum":1,"uid":198760,"depth":4,"hasGivenKudo":false,"subscribed":false,"board":{"__ref":"Forum:board:readyapi-questions"},"parent":{"__ref":"ForumReplyMessage:message:198328"},"conversation":{"__ref":"Conversation:conversation:198168"},"subject":"Re: global-groovy.log size handling","moderationData":{"__ref":"ModerationData:moderation_data:198760"},"body":"Hey krogold ,
Have you got the solution..
Just eager to know how to do it. :)
","body@stripHtml({\"removeProcessingText\":false,\"removeSpoilerMarkup\":false,\"removeTocMarkup\":false,\"truncateLength\":200})@stringLength":"115","kudosSumWeight":0,"repliesCount":0,"postTime":"2020-03-14T05:21:52.079-07:00","lastPublishTime":"2020-03-14T05:21:52.079-07:00","metrics":{"__typename":"MessageMetrics","views":1871},"visibilityScope":"PUBLIC","placeholder":false,"originalMessageForPlaceholder":null,"isEscalated":null,"solution":false,"entityType":"FORUM_REPLY","eventPath":"category:ready_api_forums/community:nwkab66374board:readyapi-questions/message:198168/message:198760","customFields":[],"attachments":{"__typename":"AttachmentConnection","edges":[],"pageInfo":{"__typename":"PageInfo","hasNextPage":false,"endCursor":null,"hasPreviousPage":false,"startCursor":null}}}}}},"page":"/forums/ForumMessagePage/ForumMessagePage","query":{"boardId":"readyapi-questions","messageSubject":"global-groovy-log-size-handling","messageId":"198168","replyId":"198183"},"buildId":"OKtI0OLKuXmERTJKBVqYX","runtimeConfig":{"buildInformationVisible":false,"logLevelApp":"info","logLevelMetrics":"info","openTelemetryClientEnabled":false,"openTelemetryConfigName":"smartbear","openTelemetryServiceVersion":"24.11.0","openTelemetryUniverse":"prod","openTelemetryCollector":"http://localhost:4318","openTelemetryRouteChangeAllowedTime":"5000","apolloDevToolsEnabled":false},"isFallback":false,"isExperimentalCompile":false,"dynamicIds":["./components/seo/QAPageSchema/QAPageSchema.tsx","./components/community/Navbar/NavbarWidget.tsx","./components/community/Breadcrumb/BreadcrumbWidget.tsx","./components/messages/TopicWithThreadedReplyListWidget/TopicWithThreadedReplyListWidget.tsx","./components/messages/RelatedContentWidget/RelatedContentWidget.tsx","./components/messages/MessageListForNodeByRecentActivityWidget/MessageListForNodeByRecentActivityWidget.tsx","./components/customComponent/CustomComponent/CustomComponent.tsx","./components/messages/MessageView/MessageViewStandard/MessageViewStandard.tsx","../shared/client/components/common/List/UnstyledList/UnstyledList.tsx","./components/messages/MessageView/MessageView.tsx","./components/messages/MessageView/MessageViewInline/MessageViewInline.tsx","../shared/client/components/common/List/ListGroup/ListGroup.tsx","../shared/client/components/common/Pager/PagerLoadMore/PagerLoadMore.tsx"],"appGip":true,"scriptLoader":[]}
🎉 NEW API Hub and Insight Hub are here to simplify workflows and help you deliver quality faster. Learn More