mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 02:42:25 -05:00 
			
		
		
		
	fix logs not working properly (#264)
This commit is contained in:
		
					parent
					
						
							
								e04b187702
							
						
					
				
			
			
				commit
				
					
						ff77bf1d11
					
				
			
		
					 6 changed files with 6 additions and 6 deletions
				
			
		|  | @ -39,7 +39,7 @@ func (f *federatingDB) Accept(ctx context.Context, accept vocab.ActivityStreamsA | ||||||
| 		}, | 		}, | ||||||
| 	) | 	) | ||||||
| 
 | 
 | ||||||
| 	if l.Level >= logrus.DebugLevel { | 	if f.log.Level >= logrus.DebugLevel { | ||||||
| 		i, err := marshalItem(accept) | 		i, err := marshalItem(accept) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			return err | 			return err | ||||||
|  |  | ||||||
|  | @ -35,7 +35,7 @@ func (f *federatingDB) Announce(ctx context.Context, announce vocab.ActivityStre | ||||||
| 		}, | 		}, | ||||||
| 	) | 	) | ||||||
| 
 | 
 | ||||||
| 	if l.Level >= logrus.DebugLevel { | 	if f.log.Level >= logrus.DebugLevel { | ||||||
| 		i, err := marshalItem(announce) | 		i, err := marshalItem(announce) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			return err | 			return err | ||||||
|  |  | ||||||
|  | @ -50,7 +50,7 @@ func (f *federatingDB) Create(ctx context.Context, asType vocab.Type) error { | ||||||
| 		}, | 		}, | ||||||
| 	) | 	) | ||||||
| 
 | 
 | ||||||
| 	if l.Level >= logrus.DebugLevel { | 	if f.log.Level >= logrus.DebugLevel { | ||||||
| 		i, err := marshalItem(asType) | 		i, err := marshalItem(asType) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			return err | 			return err | ||||||
|  |  | ||||||
|  | @ -37,7 +37,7 @@ func (f *federatingDB) Undo(ctx context.Context, undo vocab.ActivityStreamsUndo) | ||||||
| 		}, | 		}, | ||||||
| 	) | 	) | ||||||
| 
 | 
 | ||||||
| 	if l.Level >= logrus.DebugLevel { | 	if f.log.Level >= logrus.DebugLevel { | ||||||
| 		i, err := marshalItem(undo) | 		i, err := marshalItem(undo) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			return err | 			return err | ||||||
|  |  | ||||||
|  | @ -47,7 +47,7 @@ func (f *federatingDB) Update(ctx context.Context, asType vocab.Type) error { | ||||||
| 		}, | 		}, | ||||||
| 	) | 	) | ||||||
| 
 | 
 | ||||||
| 	if l.Level >= logrus.DebugLevel { | 	if f.log.Level >= logrus.DebugLevel { | ||||||
| 		i, err := marshalItem(asType) | 		i, err := marshalItem(asType) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			return err | 			return err | ||||||
|  |  | ||||||
|  | @ -69,7 +69,7 @@ func (f *federatingDB) NewID(ctx context.Context, t vocab.Type) (idURL *url.URL, | ||||||
| 		}, | 		}, | ||||||
| 	) | 	) | ||||||
| 
 | 
 | ||||||
| 	if l.Level >= logrus.DebugLevel { | 	if f.log.Level >= logrus.DebugLevel { | ||||||
| 		i, err := marshalItem(t) | 		i, err := marshalItem(t) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			return nil, err | 			return nil, err | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue