You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -133,17 +123,6 @@ It has two public properties:
133
123
* fileSource: the full path of file to rotate
134
124
* fileRotated: the full path of file rotated
135
125
136
-
### RotateIsNotNecessary
137
-
138
-
`Cesargb\File\Rotate\Events\RotateIsNotNecessary`
139
-
140
-
If file log does not exist or is empty this event will be fired.
141
-
142
-
It has two public properties:
143
-
144
-
* fileSource: the full path of file to rotate
145
-
* message: Descriptive message of the reason
146
-
147
126
### RotateHasFailed
148
127
149
128
`Cesargb\File\Rotate\Handlers\RotativeHandler`
@@ -167,6 +146,10 @@ Run test with:
167
146
composer test
168
147
```
169
148
149
+
## Upgrading
150
+
151
+
Please see [UPGRADING](UPGRADING.md) for details.
152
+
170
153
## Knowledge Issues
171
154
172
155
*[#8](https://github.com/cesargb/laravel-logs-rotate/issues/8) While the file is being rotated, any record of another process may be lost.
Because there are many breaking changes an upgrade is not that easy. There are many edge cases this guide does not cover. We accept PRs to improve this guide.
4
+
5
+
## From [v1](https://github.com/cesargb/laravel-logs-rotate/tree/v1) to v2
6
+
7
+
- rename config params from `foreing_files` to `foreign_files`, if you have a config file with the old name, rename it to `config/rotate.php`
0 commit comments