You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/12/06 17:52:42 UTC

[GitHub] [incubator-kvrocks] juancrescente created a discussion: A good way to remove old logs files?

GitHub user juancrescente created a discussion: A good way to remove old logs files?

The disk of my instance is currently being filled once in a while due to the logs. What is a safe way to remove old logs? Is there any config for that? 

thanks

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] tisonkun added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: A good way to remove old logs files (log-dir)?

FYI

Resolved by https://github.com/apache/incubator-kvrocks/pull/1171. Pending to be delivered in 2.3.0 IMO.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4466585

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] tisonkun added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: A good way to remove old logs files (log-dir)?

> support deleting old logs by day in the next release

Perhaps file an issue and describe what/how to implement?

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4328700

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Thanks, @juancrescente 

I'm sorry for didn't make it clear, what I want is some sample logs in kvrocks.INFO to confirm if it contains debug logs.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4341560

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user PragmaTwice added a comment to the discussion: A good way to remove old logs files (log-dir)?

I wonder if this flag works? https://github.com/apache/incubator-kvrocks/blob/unstable/src/main.cc#L170

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4329708

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

@juancrescente You can manually delete the old logs except soft linking to kvrocks.[INFO|WARN|ERROR], will support deleting old logs by day in the next release.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4328654

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente edited a comment on the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente edited a comment on the discussion: A good way to remove old logs files (log-dir)?

@git-hulk :D 

```
-bash-4.2$ tail -f -n 100 logs/kvrocks.INFO 
I20221212 12:49:45.649030 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219637.sst to xxx
I20221212 12:49:46.364853 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220156.sst to xxx
I20221212 12:49:46.365051 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220111.sst to xxx
I20221212 12:49:46.365525 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220202.sst to xxx
I20221212 12:49:46.624662 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220183.sst to xxx
I20221212 12:49:47.743911 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219530.sst to xxx
I20221212 12:49:47.744644 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219607.sst to xxx
I20221212 12:49:48.711853 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220205.sst to xxx
I20221212 12:49:48.712031 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220075.sst to xxx
I20221212 12:49:49.791810 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219445.sst to xxx
I20221212 12:49:50.765429 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220194.sst to xxx
I20221212 12:49:50.765609 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220070.sst to xxx
I20221212 12:49:50.766240 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220064.sst to xxx
I20221212 12:49:51.880493 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219434.sst to xxx
I20221212 12:49:52.023821 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219441.sst to xxx
I20221212 12:49:52.869433 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220162.sst to xxx
I20221212 12:49:54.103806 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218485.sst to xxx
I20221212 12:49:54.963891 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220032.sst to xxx
I20221212 12:49:56.137118 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218486.sst to xxx
I20221212 12:49:56.137687 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218544.sst to xxx
I20221212 12:49:57.044736 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220030.sst to xxx
I20221212 12:49:57.045331 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5163142.sst to xxx
I20221212 12:49:58.224211 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218501.sst to xxx
I20221212 12:49:59.136087 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162837.sst to xxx
I20221212 12:50:00.319816 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218564.sst to xxx
I20221212 12:50:01.184675 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162838.sst to xxx
I20221212 12:50:02.400439 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218470.sst to xxx
I20221212 12:50:02.805068 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162853.sst to xxx
I20221212 12:50:04.433109 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162846.sst to xxx
I20221212 12:50:04.513161 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218447.sst to xxx
I20221212 12:50:04.513669 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218594.sst to xxx
I20221212 12:50:04.832451 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162830.sst to xxx
I20221212 12:50:06.549167 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218514.sst to xxx
I20221212 12:50:06.549373 26144 redis_cmd.cc:4714] [replication] Succeed sending file CURRENT to xxx
I20221212 12:50:06.864125 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162833.sst to xxx
I20221212 12:50:07.056602 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162832.sst to xxx
I20221212 12:50:07.372731 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162828.sst to xxx
I20221212 12:50:08.354856 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158072.sst to xxx
I20221212 12:50:09.366942 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158078.sst to xxx
I20221212 12:50:10.340569 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158062.sst to xxx
I20221212 12:50:10.340785 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158060.sst to xxx
I20221212 12:50:11.364163 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158083.sst to xxx
I20221212 12:50:12.431989 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158037.sst to xxx
I20221212 12:50:13.408457 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158035.sst to xxx
I20221212 12:50:14.464951 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158028.sst to xxx
I20221212 12:50:15.484601 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158023.sst to xxx
I20221212 12:50:16.512720 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158006.sst to xxx
I20221212 12:50:17.545217 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157452.sst to xxx
I20221212 12:50:18.573123 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157451.sst to xxx
I20221212 12:50:18.573340 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157458.sst to xxx
I20221212 12:50:19.604960 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157442.sst to xxx
I20221212 12:50:19.780974 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157462.sst to xxx
I20221212 12:50:20.801313 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157434.sst to xxx
I20221212 12:50:21.836961 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157431.sst to xxx
I20221212 12:50:21.837183 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157429.sst to xxx
I20221212 12:50:22.872862 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157147.sst to xxx
I20221212 12:50:22.873064 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157162.sst to xxx
I20221212 12:50:23.169081 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157149.sst to xxx
I20221212 12:50:24.176913 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157151.sst to xxx
I20221212 12:50:24.596904 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157135.sst to xxx
I20221212 12:50:25.628974 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157117.sst to xxx
I20221212 12:50:26.649044 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157127.sst to xxx
I20221212 12:50:27.704044 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157121.sst to xxx
I20221212 12:50:28.748947 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165894.sst to xxx
I20221212 12:50:28.749658 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165875.sst to xxx
I20221212 12:50:28.750136 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165886.sst to xxx
I20221212 12:50:28.820984 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165899.sst to xxx
I20221212 12:50:28.821228 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165851.sst to xxx
I20221212 12:50:28.869021 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165892.sst to xxx
I20221212 12:50:28.869478 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165890.sst to xxx
I20221212 12:50:28.869604 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165881.sst to xxx
I20221212 12:50:29.920951 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219624.sst to xxx
I20221212 12:50:30.204888 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219636.sst to xxx
I20221212 12:50:31.248847 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219752.sst to xxx
I20221212 12:50:31.260922 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219743.sst to xxx
I20221212 12:50:32.281021 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219649.sst to xxx
I20221212 12:50:32.281213 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219491.sst to xxx
I20221212 12:50:33.329100 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219604.sst to xxx
I20221212 12:50:34.364908 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219458.sst to xxx
I20221212 12:50:34.377089 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219442.sst to xxx
I20221212 12:50:35.427847 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219455.sst to xxx
I20221212 12:50:36.448985 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218490.sst to xxx
I20221212 12:50:37.492913 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218492.sst to xxx
I20221212 12:50:38.532651 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218541.sst to xxx
I20221212 12:50:39.568742 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218595.sst to xxx
I20221212 12:50:39.568941 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218503.sst to xxx
I20221212 12:50:39.940798 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218468.sst to xxx
I20221212 12:50:39.941370 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218473.sst to xxx
I20221212 12:50:40.976842 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218593.sst to xxx
I20221212 12:50:42.017179 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218440.sst to xxx
I20221212 12:50:42.313127 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218518.sst to xxx
I20221212 12:50:50.998450  1018 redis_cmd.cc:3927] Slave xxx:42804, listening port: 6666 asks for synchronization with next sequence: 75947926118 replication id: not supported, and local sequence: 75947926117
I20221212 12:50:51.000041  1018 redis_cmd.cc:3973] New slave: xxx:42804 was added, start increment syncing
I20221212 12:51:26.770112  1055 server.cc:676] [server] Clean checkpoint successfully
E20221212 12:59:38.235677  1043 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.238:51808, while encounter error: Connection reset by peer
E20221212 13:00:04.945376  1022 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.153:53468, while encounter error: Connection reset by peer
E20221212 13:00:18.614625  1022 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.225:43304, while encounter error: Connection reset by peer
E20221212 13:30:04.324168   994 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.101:58828, while encounter error: Connection reset by peer
E20221212 13:30:04.326341  1020 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.101:58832, while encounter error: Connection reset by peer
E20221212 13:30:04.363883  1015 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.171:58228, while encounter error: Connection reset by peer
```

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4378959

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente edited a discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente edited a discussion: A good way to remove old logs files (log-dir)?

The disk of my instance is currently being filled once in a while due to the logs. What is a safe way to remove old logs? Is there any config for that? 

thanks

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente added a comment to the discussion: A good way to remove old logs files (log-dir)?

@git-hulk I don't see a debug flag in the .conf file
But pretty quickly it adds up to a dozen GBs

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4332821

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Yes, will create an issue to describe it later. Google log has already supported deleting logs by day, so what we need is to add a configuration to enable the retention option.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4328881

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

related issue: https://github.com/apache/incubator-kvrocks/issues/1168

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4341577

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

> I wonder if this flag works? https://github.com/apache/incubator-kvrocks/blob/unstable/src/main.cc#L170

I didn't test this carefully, but it should be good and only limit the single file size.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4333033

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente edited a comment on the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente edited a comment on the discussion: A good way to remove old logs files (log-dir)?

@git-hulk :D 

```

-bash-4.2$ tail -f -n 100 logs/kvrocks.INFO 
I20221212 12:49:45.649030 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219637.sst to xxx
I20221212 12:49:46.364853 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220156.sst to xxx
I20221212 12:49:46.365051 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220111.sst to xxx
I20221212 12:49:46.365525 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220202.sst to xxx
I20221212 12:49:46.624662 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220183.sst to xxx
I20221212 12:49:47.743911 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219530.sst to xxx
I20221212 12:49:47.744644 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219607.sst to xxx
I20221212 12:49:48.711853 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220205.sst to xxx
I20221212 12:49:48.712031 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220075.sst to xxx
I20221212 12:49:49.791810 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219445.sst to xxx
I20221212 12:49:50.765429 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220194.sst to xxx
I20221212 12:49:50.765609 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220070.sst to xxx
I20221212 12:49:50.766240 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220064.sst to xxx
I20221212 12:49:51.880493 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219434.sst to xxx
I20221212 12:49:52.023821 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219441.sst to xxx
I20221212 12:49:52.869433 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220162.sst to xxx
I20221212 12:49:54.103806 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218485.sst to xxx
I20221212 12:49:54.963891 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220032.sst to xxx
I20221212 12:49:56.137118 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218486.sst to xxx
I20221212 12:49:56.137687 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218544.sst to xxx
I20221212 12:49:57.044736 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220030.sst to xxx
I20221212 12:49:57.045331 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5163142.sst to xxx
I20221212 12:49:58.224211 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218501.sst to xxx
I20221212 12:49:59.136087 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162837.sst to xxx
I20221212 12:50:00.319816 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218564.sst to xxx
I20221212 12:50:01.184675 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162838.sst to xxx
I20221212 12:50:02.400439 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218470.sst to xxx
I20221212 12:50:02.805068 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162853.sst to xxx
I20221212 12:50:04.433109 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162846.sst to xxx
I20221212 12:50:04.513161 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218447.sst to xxx
I20221212 12:50:04.513669 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218594.sst to xxx
I20221212 12:50:04.832451 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162830.sst to xxx
I20221212 12:50:06.549167 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218514.sst to xxx
I20221212 12:50:06.549373 26144 redis_cmd.cc:4714] [replication] Succeed sending file CURRENT to xxx
I20221212 12:50:06.864125 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162833.sst to xxx
I20221212 12:50:07.056602 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162832.sst to xxx
I20221212 12:50:07.372731 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162828.sst to xxx
I20221212 12:50:08.354856 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158072.sst to xxx
I20221212 12:50:09.366942 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158078.sst to xxx
I20221212 12:50:10.340569 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158062.sst to xxx
I20221212 12:50:10.340785 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158060.sst to xxx
I20221212 12:50:11.364163 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158083.sst to xxx
I20221212 12:50:12.431989 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158037.sst to xxx
I20221212 12:50:13.408457 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158035.sst to xxx
I20221212 12:50:14.464951 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158028.sst to xxx
I20221212 12:50:15.484601 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158023.sst to xxx
I20221212 12:50:16.512720 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158006.sst to xxx
I20221212 12:50:17.545217 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157452.sst to xxx
I20221212 12:50:18.573123 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157451.sst to xxx
I20221212 12:50:18.573340 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157458.sst to xxx
I20221212 12:50:19.604960 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157442.sst to xxx
I20221212 12:50:19.780974 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157462.sst to xxx
I20221212 12:50:20.801313 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157434.sst to xxx
I20221212 12:50:21.836961 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157431.sst to xxx
I20221212 12:50:21.837183 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157429.sst to xxx
I20221212 12:50:22.872862 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157147.sst to xxx
I20221212 12:50:22.873064 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157162.sst to xxx
I20221212 12:50:23.169081 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157149.sst to xxx
I20221212 12:50:24.176913 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157151.sst to xxx
I20221212 12:50:24.596904 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157135.sst to xxx
I20221212 12:50:25.628974 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157117.sst to xxx
I20221212 12:50:26.649044 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157127.sst to xxx
I20221212 12:50:27.704044 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157121.sst to xxx
I20221212 12:50:28.748947 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165894.sst to xxx
I20221212 12:50:28.749658 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165875.sst to xxx
I20221212 12:50:28.750136 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165886.sst to xxx
I20221212 12:50:28.820984 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165899.sst to xxx
I20221212 12:50:28.821228 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165851.sst to xxx
I20221212 12:50:28.869021 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165892.sst to xxx
I20221212 12:50:28.869478 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165890.sst to xxx
I20221212 12:50:28.869604 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165881.sst to xxx
I20221212 12:50:29.920951 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219624.sst to xxx
I20221212 12:50:30.204888 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219636.sst to xxx
I20221212 12:50:31.248847 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219752.sst to xxx
I20221212 12:50:31.260922 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219743.sst to xxx
I20221212 12:50:32.281021 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219649.sst to xxx
I20221212 12:50:32.281213 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219491.sst to xxx
I20221212 12:50:33.329100 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219604.sst to xxx
I20221212 12:50:34.364908 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219458.sst to xxx
I20221212 12:50:34.377089 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219442.sst to xxx
I20221212 12:50:35.427847 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219455.sst to xxx
I20221212 12:50:36.448985 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218490.sst to xxx
I20221212 12:50:37.492913 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218492.sst to xxx
I20221212 12:50:38.532651 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218541.sst to xxx
I20221212 12:50:39.568742 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218595.sst to xxx
I20221212 12:50:39.568941 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218503.sst to xxx
I20221212 12:50:39.940798 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218468.sst to xxx
I20221212 12:50:39.941370 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218473.sst to xxx
I20221212 12:50:40.976842 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218593.sst to xxx
I20221212 12:50:42.017179 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218440.sst to xxx
I20221212 12:50:42.313127 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218518.sst to xxx
I20221212 12:50:50.998450  1018 redis_cmd.cc:3927] Slave xxx:42804, listening port: 6666 asks for synchronization with next sequence: 75947926118 replication id: not supported, and local sequence: 75947926117
I20221212 12:50:51.000041  1018 redis_cmd.cc:3973] New slave: xxx:42804 was added, start increment syncing
I20221212 12:51:26.770112  1055 server.cc:676] [server] Clean checkpoint successfully
E20221212 12:59:38.235677  1043 redis_connection.cc:99] [connection] Going to remove the client: xxxx:51808, while encounter error: Connection reset by peer
E20221212 13:00:04.945376  1022 redis_connection.cc:99] [connection] Going to remove the client: xxxx:53468, while encounter error: Connection reset by peer
E20221212 13:00:18.614625  1022 redis_connection.cc:99] [connection] Going to remove the client: xxxx:43304, while encounter error: Connection reset by peer
E20221212 13:30:04.324168   994 redis_connection.cc:99] [connection] Going to remove the client: xxxx:58828, while encounter error: Connection reset by peer
E20221212 13:30:04.326341  1020 redis_connection.cc:99] [connection] Going to remove the client: xxxx:58832, while encounter error: Connection reset by peer
E20221212 13:30:04.363883  1015 redis_connection.cc:99] [connection] Going to remove the client: xxxx:58228, while encounter error: Connection reset by peer
```

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4378959

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente added a comment to the discussion: A good way to remove old logs files (log-dir)?

amazing!

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4551185

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

@juancrescente Another question is which type of those logs? it should only have few logs like compaction logs if you didn't run with debug level.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4329236

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: A good way to remove old logs files (log-dir)?

@juancrescente could you show some samples?

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4333042

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente added a comment to the discussion: A good way to remove old logs files (log-dir)?

@git-hulk looks like this:

can you set that flag from the config file?
I still cannot figure out an automated way to remove old logs

```

lrwxrwxrwx 1 ec2-user ec2-user   75 Nov 23 19:34 kvrocks.ERROR -> kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.ERROR.20221123-193401.21961
lrwxrwxrwx 1 ec2-user ec2-user   74 Nov 27 04:45 kvrocks.INFO -> kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-044553.21961
-rw-rw-r-- 1 ec2-user ec2-user  521 Nov 23 16:15 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.ERROR.20221123-150837.25940
-rw-rw-r-- 1 ec2-user ec2-user  433 Nov 23 16:58 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.ERROR.20221123-163945.13150
-rw-rw-r-- 1 ec2-user ec2-user  316 Nov 23 17:10 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.ERROR.20221123-171016.19719
-rw-rw-r-- 1 ec2-user ec2-user 740K Dec  7 16:00 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.ERROR.20221123-193401.21961
-rw-r--r-- 1 ec2-user ec2-user  278 Nov 23 15:05 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221123-150524.25937
-rw-rw-r-- 1 ec2-user ec2-user 2.6M Nov 23 16:15 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221123-150524.25940
-rw-r--r-- 1 ec2-user ec2-user  278 Nov 23 16:15 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221123-161540.13149
-rw-rw-r-- 1 ec2-user ec2-user 3.9M Nov 23 16:58 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221123-161540.13150
-rw-r--r-- 1 ec2-user ec2-user  278 Nov 23 16:58 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221123-165845.19718
-rw-rw-r-- 1 ec2-user ec2-user  15K Nov 23 17:10 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221123-165845.19719
-rw-r--r-- 1 ec2-user ec2-user  278 Nov 23 17:10 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221123-171028.21960
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 04:18 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221123-171028.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 04:33 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-041814.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 04:42 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-043355.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 04:49 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-044221.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 04:55 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-044918.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:18 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-045535.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:22 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-061829.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:26 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-062234.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:29 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-062623.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:33 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-062957.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:36 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-063321.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:39 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-063635.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:42 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-063941.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:45 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-064240.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:48 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-064533.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:51 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-064822.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:53 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-065105.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:56 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-065344.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 06:58 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-065619.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:01 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-065850.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:03 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-070119.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:06 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-070345.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:08 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-070607.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:10 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-070827.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:13 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-071044.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:15 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-071300.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:17 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-071512.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:19 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-071724.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:21 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-071933.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:23 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-072141.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:25 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-072346.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:27 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-072551.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:29 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-072754.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:31 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-072955.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:33 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-073155.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:35 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-073354.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 26 07:37 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-073552.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:09 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221126-073748.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:12 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-040932.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:15 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-041252.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:18 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-041524.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:21 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-041833.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:24 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-042125.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:27 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-042449.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:30 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-042738.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:33 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-043022.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:36 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-043338.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:39 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-043600.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:41 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-043936.21961
-rw-rw-r-- 1 ec2-user ec2-user 101M Nov 27 04:45 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-044152.21961
-rw-rw-r-- 1 ec2-user ec2-user  27M Nov 27 05:49 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.INFO.20221127-044553.21961
-rw-rw-r-- 1 ec2-user ec2-user  614 Nov 23 16:15 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.WARNING.20221123-150524.25940
-rw-rw-r-- 1 ec2-user ec2-user  937 Nov 23 16:58 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.WARNING.20221123-163945.13150
-rw-rw-r-- 1 ec2-user ec2-user  789 Nov 23 17:10 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.WARNING.20221123-165845.19719
-rw-rw-r-- 1 ec2-user ec2-user 1.4M Dec  7 16:00 kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.WARNING.20221123-171028.21961
lrwxrwxrwx 1 ec2-user ec2-user   77 Nov 23 17:10 kvrocks.WARNING -> kvrocks.ip-xx-xx-xx.ec2.internal.ec2-user.log.WARNING.20221123-171028.21961
```

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4334566

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente added a comment to the discussion: A good way to remove old logs files (log-dir)?

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente added a comment to the discussion: A good way to remove old logs files (log-dir)?

@git-hulk :D 
```

-bash-4.2$ tail -f -n 100 logs/kvrocks.INFO 
I20221212 12:49:45.649030 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219637.sst to 10.2.0.133
I20221212 12:49:46.364853 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220156.sst to 10.2.0.133
I20221212 12:49:46.365051 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220111.sst to 10.2.0.133
I20221212 12:49:46.365525 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220202.sst to 10.2.0.133
I20221212 12:49:46.624662 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220183.sst to 10.2.0.133
I20221212 12:49:47.743911 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219530.sst to 10.2.0.133
I20221212 12:49:47.744644 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219607.sst to 10.2.0.133
I20221212 12:49:48.711853 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220205.sst to 10.2.0.133
I20221212 12:49:48.712031 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220075.sst to 10.2.0.133
I20221212 12:49:49.791810 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219445.sst to 10.2.0.133
I20221212 12:49:50.765429 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220194.sst to 10.2.0.133
I20221212 12:49:50.765609 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220070.sst to 10.2.0.133
I20221212 12:49:50.766240 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220064.sst to 10.2.0.133
I20221212 12:49:51.880493 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219434.sst to 10.2.0.133
I20221212 12:49:52.023821 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5219441.sst to 10.2.0.133
I20221212 12:49:52.869433 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220162.sst to 10.2.0.133
I20221212 12:49:54.103806 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218485.sst to 10.2.0.133
I20221212 12:49:54.963891 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220032.sst to 10.2.0.133
I20221212 12:49:56.137118 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218486.sst to 10.2.0.133
I20221212 12:49:56.137687 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218544.sst to 10.2.0.133
I20221212 12:49:57.044736 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5220030.sst to 10.2.0.133
I20221212 12:49:57.045331 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5163142.sst to 10.2.0.133
I20221212 12:49:58.224211 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218501.sst to 10.2.0.133
I20221212 12:49:59.136087 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162837.sst to 10.2.0.133
I20221212 12:50:00.319816 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218564.sst to 10.2.0.133
I20221212 12:50:01.184675 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162838.sst to 10.2.0.133
I20221212 12:50:02.400439 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218470.sst to 10.2.0.133
I20221212 12:50:02.805068 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162853.sst to 10.2.0.133
I20221212 12:50:04.433109 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162846.sst to 10.2.0.133
I20221212 12:50:04.513161 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218447.sst to 10.2.0.133
I20221212 12:50:04.513669 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218594.sst to 10.2.0.133
I20221212 12:50:04.832451 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162830.sst to 10.2.0.133
I20221212 12:50:06.549167 26144 redis_cmd.cc:4714] [replication] Succeed sending file 5218514.sst to 10.2.0.133
I20221212 12:50:06.549373 26144 redis_cmd.cc:4714] [replication] Succeed sending file CURRENT to 10.2.0.133
I20221212 12:50:06.864125 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162833.sst to 10.2.0.133
I20221212 12:50:07.056602 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162832.sst to 10.2.0.133
I20221212 12:50:07.372731 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5162828.sst to 10.2.0.133
I20221212 12:50:08.354856 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158072.sst to 10.2.0.133
I20221212 12:50:09.366942 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158078.sst to 10.2.0.133
I20221212 12:50:10.340569 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158062.sst to 10.2.0.133
I20221212 12:50:10.340785 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158060.sst to 10.2.0.133
I20221212 12:50:11.364163 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158083.sst to 10.2.0.133
I20221212 12:50:12.431989 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158037.sst to 10.2.0.133
I20221212 12:50:13.408457 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158035.sst to 10.2.0.133
I20221212 12:50:14.464951 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158028.sst to 10.2.0.133
I20221212 12:50:15.484601 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158023.sst to 10.2.0.133
I20221212 12:50:16.512720 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5158006.sst to 10.2.0.133
I20221212 12:50:17.545217 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157452.sst to 10.2.0.133
I20221212 12:50:18.573123 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157451.sst to 10.2.0.133
I20221212 12:50:18.573340 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157458.sst to 10.2.0.133
I20221212 12:50:19.604960 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157442.sst to 10.2.0.133
I20221212 12:50:19.780974 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157462.sst to 10.2.0.133
I20221212 12:50:20.801313 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157434.sst to 10.2.0.133
I20221212 12:50:21.836961 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157431.sst to 10.2.0.133
I20221212 12:50:21.837183 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157429.sst to 10.2.0.133
I20221212 12:50:22.872862 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157147.sst to 10.2.0.133
I20221212 12:50:22.873064 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157162.sst to 10.2.0.133
I20221212 12:50:23.169081 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157149.sst to 10.2.0.133
I20221212 12:50:24.176913 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157151.sst to 10.2.0.133
I20221212 12:50:24.596904 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157135.sst to 10.2.0.133
I20221212 12:50:25.628974 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157117.sst to 10.2.0.133
I20221212 12:50:26.649044 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157127.sst to 10.2.0.133
I20221212 12:50:27.704044 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5157121.sst to 10.2.0.133
I20221212 12:50:28.748947 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165894.sst to 10.2.0.133
I20221212 12:50:28.749658 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165875.sst to 10.2.0.133
I20221212 12:50:28.750136 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165886.sst to 10.2.0.133
I20221212 12:50:28.820984 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165899.sst to 10.2.0.133
I20221212 12:50:28.821228 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165851.sst to 10.2.0.133
I20221212 12:50:28.869021 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165892.sst to 10.2.0.133
I20221212 12:50:28.869478 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165890.sst to 10.2.0.133
I20221212 12:50:28.869604 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5165881.sst to 10.2.0.133
I20221212 12:50:29.920951 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219624.sst to 10.2.0.133
I20221212 12:50:30.204888 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219636.sst to 10.2.0.133
I20221212 12:50:31.248847 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219752.sst to 10.2.0.133
I20221212 12:50:31.260922 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219743.sst to 10.2.0.133
I20221212 12:50:32.281021 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219649.sst to 10.2.0.133
I20221212 12:50:32.281213 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219491.sst to 10.2.0.133
I20221212 12:50:33.329100 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219604.sst to 10.2.0.133
I20221212 12:50:34.364908 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219458.sst to 10.2.0.133
I20221212 12:50:34.377089 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219442.sst to 10.2.0.133
I20221212 12:50:35.427847 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5219455.sst to 10.2.0.133
I20221212 12:50:36.448985 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218490.sst to 10.2.0.133
I20221212 12:50:37.492913 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218492.sst to 10.2.0.133
I20221212 12:50:38.532651 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218541.sst to 10.2.0.133
I20221212 12:50:39.568742 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218595.sst to 10.2.0.133
I20221212 12:50:39.568941 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218503.sst to 10.2.0.133
I20221212 12:50:39.940798 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218468.sst to 10.2.0.133
I20221212 12:50:39.941370 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218473.sst to 10.2.0.133
I20221212 12:50:40.976842 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218593.sst to 10.2.0.133
I20221212 12:50:42.017179 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218440.sst to 10.2.0.133
I20221212 12:50:42.313127 26141 redis_cmd.cc:4714] [replication] Succeed sending file 5218518.sst to 10.2.0.133
I20221212 12:50:50.998450  1018 redis_cmd.cc:3927] Slave 10.2.0.133:42804, listening port: 6666 asks for synchronization with next sequence: 75947926118 replication id: not supported, and local sequence: 75947926117
I20221212 12:50:51.000041  1018 redis_cmd.cc:3973] New slave: 10.2.0.133:42804 was added, start increment syncing
I20221212 12:51:26.770112  1055 server.cc:676] [server] Clean checkpoint successfully
E20221212 12:59:38.235677  1043 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.238:51808, while encounter error: Connection reset by peer
E20221212 13:00:04.945376  1022 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.153:53468, while encounter error: Connection reset by peer
E20221212 13:00:18.614625  1022 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.225:43304, while encounter error: Connection reset by peer
E20221212 13:30:04.324168   994 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.101:58828, while encounter error: Connection reset by peer
E20221212 13:30:04.326341  1020 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.101:58832, while encounter error: Connection reset by peer
E20221212 13:30:04.363883  1015 redis_connection.cc:99] [connection] Going to remove the client: 10.2.0.171:58228, while encounter error: Connection reset by peer
```

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1167#discussioncomment-4378959

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org