diff --git a/studialis_configuration/studialis_configuration.lib.inc b/studialis_configuration/studialis_configuration.lib.inc
index f4c342b..5154bfa 100644
--- a/studialis_configuration/studialis_configuration.lib.inc
+++ b/studialis_configuration/studialis_configuration.lib.inc
@@ -153,3 +153,38 @@ function studialis_configuration_get_count_error_sync($table_name)
     ->condition('tn.is_sync', -1, '=')
     ->countQuery()->execute()->fetchField();
 }
+
+function studialis_configuration_manage_watchdog_http_request($title, $acronyme, $code) {
+	
+	switch ($code) {
+		case 200:
+			$txt = t('[' . $acronyme . '][200] - Synchronisation OK');
+			break;
+		case 422:
+			$txt = t('[' . $acronyme . '][422] - Error Field');
+			break;
+		case 401:
+			$txt = t('[' . $acronyme . '][401] - Error user_credentials');
+			break;
+		case 403:
+			$txt = t('[' . $acronyme . '][403] - Error Access');
+			break;
+		case 404:
+			$txt = t('[' . $acronyme . '][404] - Error link');
+			break;
+		case 406:
+			$txt = t('[' . $acronyme . '][406] - Error Output Format (xml or json)');
+			break;
+		case 500:
+			$txt = t('[' . $acronyme . '][500] - Error user_credentials');
+			break;
+		case 504:
+			$txt = t('[' . $acronyme . '][504] - Timeout. Try again');
+			break;
+		default:
+			$txt = 'Timeout';
+			break;
+	}
+	
+	watchdog($title, $txt, array(), WATCHDOG_WARNING);
+}
\ No newline at end of file
