[PATCH 4/9] pptp: Drop loglevel to 0 to reduce logging

Jussi Laakkonen <[email protected]> Mon, 26 Jan 2026 15:43:43 +0200
Newsgroups dev.linux.lists.connman
Message-ID <[email protected]>
The plugin fails to connect if --loglevel is missing. Keep the option
but set level 0 to reduce logging.
---
 vpn/plugins/pptp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vpn/plugins/pptp.c b/vpn/plugins/pptp.c
index 171f66d4..2ae4e0f3 100644
--- a/vpn/plugins/pptp.c
+++ b/vpn/plugins/pptp.c
@@ -526,7 +526,7 @@ static int run_connect(struct pptp_private_data *data, const char *username,
 
 	/* Create PPTP options for pppd "pty" */
 	pptp_opt_s = g_string_new(NULL);
-	g_string_append_printf(pptp_opt_s, "%s %s --nolaunchpppd --loglevel 2",
+	g_string_append_printf(pptp_opt_s, "%s %s --nolaunchpppd --loglevel 0",
 				PPTP, host);
 
 	connman_task_add_argument(task, "nodetach", NULL);
-- 
2.47.3