| | |
| | | private FileNamingPolicy namingPolicy; |
| | | private FilePermission filePermissions; |
| | | private LogPublisherErrorHandler errorHandler; |
| | | //TODO: Implement actions. |
| | | /** TODO: Implement actions. */ |
| | | private ArrayList<ActionType> actions; |
| | | |
| | | private String name; |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public boolean isConfigurationChangeAcceptable( |
| | | SizeLimitLogRotationPolicyCfg config, List<LocalizableMessage> unacceptableReasons) |
| | |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public ConfigChangeResult applyConfigurationChange( |
| | | SizeLimitLogRotationPolicyCfg config) |
| | |
| | | } |
| | | |
| | | /** |
| | | * the run method of the rotaterThread. It wakes up periodically and checks |
| | | * The run method of the rotaterThread. It wakes up periodically and checks |
| | | * whether the file needs to be rotated based on the rotation policy. |
| | | */ |
| | | @Override |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void flush() |
| | | { |