Remove comment lines

This commit is contained in:
GyoungSu
2024-09-08 15:54:12 +09:00
parent 37e16c1573
commit 1a0c9fe7f9
2 changed files with 3 additions and 9 deletions

View File

@@ -6,13 +6,7 @@ RUN apt-get upgrade -y
RUN apt-get install -y build-essential git pkg-config libunistring-dev libaom-dev libdav1d-dev bzip2 nasm wget yasm ca-certificates
COPY install-ffmpeg.sh /install-ffmpeg.sh
RUN chmod +x /install-ffmpeg.sh && /install-ffmpeg.sh
# 로컬에서 테스트하기 위한 workspace container
# 1. ffmpeg build를 위한 환경 설정
ENV PKG_CONFIG_PATH=/ffmpeg_build/lib/pkgconfig:${PKG_CONFIG_PATH}
#ENV LD_LIBRARY_PATH=/openh264/lib
# Install dependencies
#COPY --from=build /usr/local/go /usr/local/go
ENV PATH="/usr/local/go/bin:${PATH}"
COPY ./ /app
WORKDIR /app
@@ -25,6 +19,3 @@ RUN cp index.html /app/bin/index.html
RUN mkdir /app/bin/videos
WORKDIR /app/bin
ENTRYPOINT ["/app/bin/liveflow"]
#ENTRYPOINT ["pkg-config", "--cflags", "--libs", "libavcodec", "libavformat", "libavutil", "libswscale"]

View File

@@ -39,6 +39,9 @@ func SetLevel(ctx context.Context, level logrus.Level) {
func Init() {
//logrus.AddHook(&SkipHook{skip: 7})
logrus.SetFormatter(&logrus.TextFormatter{
FullTimestamp: true,
})
}
func SetFormatter(ctx context.Context, formatter logrus.Formatter) {