diff --git a/src/main/kotlin/dev/usbharu/hideout/service/impl/PostService.kt b/src/main/kotlin/dev/usbharu/hideout/service/impl/PostService.kt
index ba11153f..71b1b10f 100644
--- a/src/main/kotlin/dev/usbharu/hideout/service/impl/PostService.kt
+++ b/src/main/kotlin/dev/usbharu/hideout/service/impl/PostService.kt
@@ -5,9 +5,13 @@ import dev.usbharu.hideout.repository.IPostRepository
import dev.usbharu.hideout.service.IPostService
import dev.usbharu.hideout.service.activitypub.ActivityPubNoteService
import dev.usbharu.hideout.service.job.JobQueueParentService
+import org.slf4j.LoggerFactory
class PostService(private val postRepository:IPostRepository,private val activityPubNoteService: ActivityPubNoteService) : IPostService {
+
+ private val logger = LoggerFactory.getLogger(this::class.java)
override suspend fun create(post: Post) {
+ logger.debug("create post={}",post)
val postEntity = postRepository.insert(post)
activityPubNoteService.createNote(postEntity)
}
diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml
index a2c79be6..bae7027f 100644
--- a/src/main/resources/logback.xml
+++ b/src/main/resources/logback.xml
@@ -11,4 +11,5 @@
+