Soumik_Dutta
  • Joined on 2023-02-08
Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-28 19:39:06 +00:00
a7f81d538d nit changes
Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-26 04:31:37 +00:00
Add option to disable syslog output

I think I have completed most of the tests. So please review. 😄

Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-26 04:29:02 +00:00
3d41ed3a34 add test to check that log_file is disabled
Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-26 04:25:45 +00:00
Add option to disable syslog output

In tests/unit/test_logger.py Line 316

flexmock(module.os.path).should_receive('exists').with_args('/dev/log').and_return(True)

shouldn't this be

flexmock(module.o
Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-26 03:28:07 +00:00
0283f9ae2a fix help string
d556a23f97 update borgmatic tests
f98d07e8d8 fix logger test
09f59ad97d disable monitoring hooks if monitoring_log_level is set to DISABLED
24be6272ed add test for logger
Compare 37 commits »
Soumik_Dutta pushed to main at Soumik_Dutta/borgmatic 2023-05-26 03:26:50 +00:00
84c21b062f Fix incorrect argument ordering (#659).
76138faaf3 Add integration test for mount action (#659).
9299841a5b Add date-based matching flags to NEWS (#659).
35b5c62ca6 Add Borg 2 date-based matching flags for archive selection (#659).
05b989347c Upgrade requests test requirement (security).
Compare 85 commits »
Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-21 16:57:03 +00:00
Add option to disable syslog output

It's the test_run_configuration_bails_for_monitor_log_soft_failure test in tests/unit/commands/test_borgmatic.py, line 119

Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-12 14:41:10 +00:00
Add option to disable syslog output

I have updated the tests. However I faced one issue. It seems to me that in the tests in the file tests/unit/commands/test_borgmatic.py, for the line where we set the monitoring_verbosity,

`…

Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-12 14:32:43 +00:00
963f86e4e8 fix help string
Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-12 14:30:17 +00:00
15d38dc592 update borgmatic tests
Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-12 13:45:59 +00:00
35dca82f82 fix logger test
6827c10226 disable monitoring hooks if monitoring_log_level is set to DISABLED
f288b2dbe9 add test for logger
3f2ef8b680 update help strings
3ba22d32f9 make value of disabled level higher
Compare 64 commits »
Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-12 13:43:09 +00:00
2fc14f5f45 fix logger test
Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-12 13:35:58 +00:00
2bcf02db14 disable monitoring hooks if monitoring_log_level is set to DISABLED
Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-09 15:02:43 +00:00
2a70faae90 add test for logger
Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-08 12:24:09 +00:00
6b446bb4a7 update help strings
Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-03 15:30:35 +00:00
Add option to disable syslog output

While writing unit tests for Healthchecks in tests/unit/hooks/test_healthchecks.py, I noticed that monitoring_log_level is set to 1 while monitoring_log_level should actually correspond…

Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-03 14:40:28 +00:00
a70787106e make value of disabled level higher
Soumik_Dutta commented on pull request borgmatic-collective/borgmatic#675 2023-05-03 14:12:58 +00:00
Add option to disable syslog output

Considering the second option of not sending logs if --monitoring-verbosity is set to -2, I have disabled the addition of Forgetful_buffering_handler.

Soumik_Dutta pushed to feat484-option-to-disable-syslog at Soumik_Dutta/borgmatic 2023-05-03 13:31:14 +00:00
4d9254a5f5 disable sending logs in Healthchecks
Soumik_Dutta commented on issue borgmatic-collective/borgmatic#687 2023-05-01 19:17:44 +00:00
Trouble running custom config

Thanks! Now everything is working fine again.