Log length

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Log length

Rex Fenley
Hello,

We've collected over 150 MiB of log lines in 5 days. Is there a way to tell Flink to eject log lines after a certain length so we don't eventually run out of disk?

ThankS1

--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US

Reply | Threaded
Open this post in threaded view
|

Re: Log length

Chesnay Schepler
Have a look at RollingFileAppenders. These have become the default in 1.12 .

On 1/12/2021 12:53 AM, Rex Fenley wrote:
Hello,

We've collected over 150 MiB of log lines in 5 days. Is there a way to tell Flink to eject log lines after a certain length so we don't eventually run out of disk?

ThankS1

--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US


Reply | Threaded
Open this post in threaded view
|

Re: Log length

Rex Fenley
Thanks, I'll check them out. What's the default in 1.11.2?

On Mon, Jan 11, 2021 at 4:26 PM Chesnay Schepler <[hidden email]> wrote:
Have a look at RollingFileAppenders. These have become the default in 1.12 .

On 1/12/2021 12:53 AM, Rex Fenley wrote:
Hello,

We've collected over 150 MiB of log lines in 5 days. Is there a way to tell Flink to eject log lines after a certain length so we don't eventually run out of disk?

ThankS1

--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US




--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US

Reply | Threaded
Open this post in threaded view
|

Re: Log length

Chesnay Schepler
A normal FileAppender that does not do any rolling or limiting of the log file.

On 1/12/2021 3:09 AM, Rex Fenley wrote:
Thanks, I'll check them out. What's the default in 1.11.2?

On Mon, Jan 11, 2021 at 4:26 PM Chesnay Schepler <[hidden email]> wrote:
Have a look at RollingFileAppenders. These have become the default in 1.12 .

On 1/12/2021 12:53 AM, Rex Fenley wrote:
Hello,

We've collected over 150 MiB of log lines in 5 days. Is there a way to tell Flink to eject log lines after a certain length so we don't eventually run out of disk?

ThankS1

--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US




--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US


Reply | Threaded
Open this post in threaded view
|

Re: Log length

Rex Fenley
Got it. Thanks!

On Tue, Jan 12, 2021 at 2:12 AM Chesnay Schepler <[hidden email]> wrote:
A normal FileAppender that does not do any rolling or limiting of the log file.

On 1/12/2021 3:09 AM, Rex Fenley wrote:
Thanks, I'll check them out. What's the default in 1.11.2?

On Mon, Jan 11, 2021 at 4:26 PM Chesnay Schepler <[hidden email]> wrote:
Have a look at RollingFileAppenders. These have become the default in 1.12 .

On 1/12/2021 12:53 AM, Rex Fenley wrote:
Hello,

We've collected over 150 MiB of log lines in 5 days. Is there a way to tell Flink to eject log lines after a certain length so we don't eventually run out of disk?

ThankS1

--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US




--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US




--

Rex Fenley  |  Software Engineer - Mobile and Backend


Remind.com |  BLOG  |  FOLLOW US  |  LIKE US