In this section, you will learn about how to configure the logging level in your application when using the Amplify logger. This is helpful to help you determine the logging level that works best for your use cases, and which levels of errors or warnings you want to capture in Amazon Cloudwatch.
## Change Default Log Level
Below is an example of setting the default log level to `WARN`:
import iosDefaultLogLevel from '/src/fragments/lib/logging/ios/change_log_levels/10_default_log_level.mdx';
import androidDefaultLogLevel from '/src/fragments/lib/logging/android/change_log_levels/10_default_log_level.mdx';
import commonDefaultLogLevel from '/src/fragments/lib/logging/common/change_log_levels/10_default_log_level.mdx';
## Configure Log Level by Category
Each Amplify category can be configured to have its own logging level.
Below is an example of setting different logging levels for the Storage and Auth categories.
import iosCategoryLogLevel from '/src/fragments/lib/logging/ios/change_log_levels/20_category_log_level.mdx';
import androidCategoryLogLevel from '/src/fragments/lib/logging/android/change_log_levels/20_category_log_level.mdx';
import commonCategoryLogLevel from '/src/fragments/lib/logging/common/change_log_levels/20_category_log_level.mdx';
import iOSCategories from '/src/fragments/lib/logging/ios/common/10_category_list.mdx';
import androidCategories from '/src/fragments/lib/logging/android/common/10_category_list.mdx';