mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
Floci accepted ApplicationLogLevel and SystemLogLevel under Text and dropped them, which a test pinned and the docs described as Floci's own call rather than probed behaviour. Measured on Lambda (eu-west-1, 2026-10-18): CreateFunction and UpdateFunctionConfiguration refuse either level under Text, whether LogFormat names Text or is left to that default, with InvalidParameterValueException "LogLevel is not supported when LogFormat is set to "Text". Remove LogLevel from your request or change the LogFormat to "JSON" and try again." In a stack, a valid level under Text passes the template's validation and fails the resource with Lambda's message. Floci now refuses it in validateLoggingConfig, so the API and the CloudFormation update check, which validates through loggingSettings, both do; and its enum errors list the levels in Lambda's order: [FATAL, TRACE, WARN, ERROR, INFO, DEBUG] and [WARN, INFO, DEBUG]. The default format is worked out in one place, logFormat, for the validation and for loggingSettings. Tests: a level under Text refused on create and on update through the API (LambdaVpcSnapStartLoggingIntegrationTest, replacing the test that pinned the old behaviour) and through the SDK (LambdaFunctionConfigTest), by loggingSettings (LambdaServiceTest), and by a stack update (CloudFormationLambdaLoggingConfigIntegrationTest); the enum messages' order. They fail on main.