Repository: tinkoff-ai/etna (language: python)

Issue:
S3 and file logger -- change experiment folder name timestamp rounding
### 🚀 Feature Request

Current approach uses timestamp with seconds like that `2022-09-16T17-20-46`.
In case of parallel experiment running result could be corrupted.


### Proposal

We should add random posftix for example or add milliseconds

### Test cases

Run multiple experiments in parallel. check for corruption. (it's just for local use. We shouldn't add such test case)

### Additional context

_No response_
S3 and file logger -- change experiment folder name timestamp rounding
### 🚀 Feature Request

Current approach uses timestamp with seconds like that `2022-09-16T17-20-46`.
In case of parallel experiment running result could be corrupted.


### Proposal

We should add random posftix for example or add milliseconds

### Test cases

Run multiple experiments in parallel. check for corruption. (it's just for local use. We shouldn't add such test case)

### Additional context

_No response_


Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 42599be8e..28bf87c83 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - 
 ### Changed
 - Set the default value of `final_model` to `LinearRegression(positive=True)` in the constructor of `StackingEnsemble` ([#1238](https://github.com/tinkoff-ai/etna/pull/1238))
-- 
+- Add microseconds to `FileLogger`'s directory name ([#947](https://github.com/tinkoff-ai/etna/pull/947))
 -
 -
 ### Fixed
diff --git a/etna/loggers/file_logger.py b/etna/loggers/file_logger.py
index 5f4ba53e2..0db6d52f1 100644
--- a/etna/loggers/file_logger.py
+++ b/etna/loggers/file_logger.py
@@ -21,7 +21,7 @@
 if TYPE_CHECKING:
     from etna.datasets import TSDataset
 
-DATETIME_FORMAT = "%Y-%m-%dT%H-%M-%S"
+DATETIME_FORMAT = "%Y-%m-%dT%H-%M-%S-%f"
 
 
 class BaseFileLogger(BaseLogger):


Test patch:
diff --git a/tests/test_loggers/test_file_logger.py b/tests/test_loggers/test_file_logger.py
index ac4d7ea83..8f3385435 100644
--- a/tests/test_loggers/test_file_logger.py
+++ b/tests/test_loggers/test_file_logger.py
@@ -20,7 +20,7 @@
 from etna.models import NaiveModel
 from etna.pipeline import Pipeline
 
-DATETIME_FORMAT = "%Y-%m-%dT%H-%M-%S"
+DATETIME_FORMAT = "%Y-%m-%dT%H-%M-%S-%f"
 
 
 def test_local_file_logger_init_new_dir():