dymint icon indicating copy to clipboard operation
dymint copied to clipboard

Badger db writes logs outside of logger

Open mtsitrin opened this issue 2 years ago • 0 comments

When running a rollapp, some of the logs are written outside of the logger

ubuntu@ip-172-31-34-224:~/.rollapp/config$ journalctl -f -u rollapp.service
-- Logs begin at Wed 2023-02-01 17:33:53 UTC. --
Feb 05 22:52:15 ip-172-31-34-224 bash[42507]: badger 2023/02/05 22:52:15 INFO: [2] [E] LOG Compact 5->6 (1, 6 -> 8 tables with 2 splits). [03562 . 03226 03427 03434 03444 03498 03512 .] -> [03585 03589 03595 03596 03586 03605 03618 03619 .], took 3.229s
Feb 06 01:19:44 ip-172-31-34-224 bash[42507]: badger 2023/02/06 01:19:44 INFO: [2] [E] LOG Compact 0->5 (5, 28 -> 39 tables with 5 splits). [03640 03641 03642 03643 03644 . 03547 03555 03556 03557 03569 03551 03560 03568 03574 03578 03581 03584 03553 03559 03564 03571 03576 03579 03583 03554 03567 03570 03573 03577 03582 03552 03563 03572 .] -> [03645 03646 03647 03648 03649 03652 03654 03656 03661 03666 03667 03673 03676 03653 03658 03662 03670 03677 03681 03682 03650 03657 03663 03669 03674 03680 03683 03651 03659 03664 03668 03671 03675 03679 03655 03660 03665 03672 03678 .], took 3.529s
Feb 06 03:47:17 ip-172-31-34-224 bash[42507]: badger 2023/02/06 03:47:17 INFO: [3] [E] LOG Compact 0->5 (5, 30 -> 41 tables with 5 splits). [03730 03731 03732 03733 03734 . 03646 03649 03652 03656 03673 03676 03653 03658 03662 03677 03681 03682 03650 03657 03663 03674 03680 03683 03651 03659 03664 03668 03671 03675 03679 03655 03660 03665 03672 03678 .] -> [03735 03736 03737 03738 03743 03744 03745 03747 03751 03752 03756 03760 03763 03740 03748 03755 03761 03767 03772 03773 03739 03749 03757 03762 03768 03774 03775 03741 03746 03753 03758 03764 03766 03770 03742 03750 03754 03759 03765 03769 03771 .], took 3.876s
Feb 06 03:47:21 ip-172-31-34-224 bash[42507]: badger 2023/02/06 03:47:21 INFO: [3] [E] LOG Compact 5->6 (1, 1 -> 2 tables with 1 splits). [03741 . 02898 .] -> [03806 03817 .], took 2.44s
Feb 06 03:47:21 ip-172-31-34-224 bash[42507]: badger 2023/02/06 03:47:21 INFO: [0] [E] LOG Compact 5->6 (1, 7 -> 9 tables with 3 splits). [03770 . 03506 03521 03539 03507 03535 03540 03511 .] -> [03781 03793 03815 03816 03785 03803 03812 03782 03783 .], took 3.112s
Feb 06 03:47:21 ip-172-31-34-224 bash[42507]: badger 2023/02/06 03:47:21 INFO: [2] [E] LOG Compact 5->6 (1, 13 -> 13 tables with 5 splits). [03738 . 03692 03698 03701 03712 03716 03719 03726 03727 03725 03728 03729 03715 03780 .] -> [03787 03792 03798 03789 03795 03801 03790 03804 03809 03791 03810 03811 03788 .], took 2.533s
Feb 06 03:47:21 ip-172-31-34-224 bash[42507]: badger 2023/02/06 03:47:21 INFO: [1] [E] LOG Compact 5->6 (1, 10 -> 11 tables with 4 splits). [03735 . 03708 03711 03722 03723 03710 03718 03720 03706 03707 03417 .] -> [03796 03807 03813 03814 03794 03802 03808 03797 03805 03799 03800 .], took 2.096s
Feb 06 06:14:49 ip-172-31-34-224 bash[42507]: badger 2023/02/06 06:14:49 INFO: [2] [E] LOG Compact 0->5 (5, 31 -> 42 tables with 5 splits). [03822 03823 03824 03825 03826 . 03736 03737 03744 03745 03747 03756 03763 03740 03748 03755 03761 03772 03739 03749 03757 03762 03768 03774 03775 03746 03753 03758 03764 03766 03742 03750 03754 03759 03765 03769 03771 .] -> [03827 03828 03829 03830 03831 03836 03839 03840 03843 03845 03846 03851 03853 03834 03837 03844 03854 03857 03860 03863 03867 03833 03841 03849 03856 03859 03862 03866 03868 03835 03842 03847 03852 03855 03858 03861 03864 03865 03832 03838 03848 03850 .], took 3.673s
Feb 06 06:14:51 ip-172-31-34-224 bash[42507]: badger 2023/02/06 06:14:51 INFO: [2] [E] LOG Compact 5->6 (1, 2 -> 2 tables with 1 splits). [03858 . 02886 02889 .] -> [03882 03896 .], took 2.152s
Feb 06 08:42:20 ip-172-31-34-224 bash[42507]: badger 2023/02/06 08:42:20 INFO: [2] [E] LOG Compact 0->5 (5, 31 -> 42 tables with 5 splits). [03917 03918 03919 03920 03921 . 03828 03830 03831 03840 03851 03853 03834 03837 03844 03854 03857 03860 03863 03867 03833 03841 03849 03856 03859 03862 03866 03868 03835 03842 03852 03855 03861 03864 03832 03838 03848 .] -> [03922 03923 03924 03927 03930 03931 03932 03934 03937 03938 03940 03944 03949 03951 03929 03939 03948 03953 03956 03959 03961 03963 03928 03936 03943 03950 03954 03957 03960 03962 03926 03935 03942 03945 03947 03952 03955 03958 03925 03933 03941 03946 .], took 3.874s

Expected result: All logs written using the logger infrastructure

mtsitrin avatar Feb 06 '23 08:02 mtsitrin